@Generated(value="software.amazon.awssdk:codegen") public final class Deployment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Deployment.Builder,Deployment>
Describes a deployment of a stack or app.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Deployment.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
appId()
The app ID.
|
static Deployment.Builder |
builder() |
DeploymentCommand |
command()
Used to specify a stack or deployment command.
|
String |
comment()
A user-defined comment.
|
String |
completedAt()
Date when the deployment completed.
|
String |
createdAt()
Date when the deployment was created.
|
String |
customJson()
A string that contains user-defined custom JSON.
|
String |
deploymentId()
The deployment ID.
|
Integer |
duration()
The deployment duration.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasInstanceIds()
For responses, this returns true if the service returned a value for the InstanceIds property.
|
String |
iamUserArn()
The user's IAM ARN.
|
List<String> |
instanceIds()
The IDs of the target instances.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Deployment.Builder> |
serializableBuilderClass() |
String |
stackId()
The stack ID.
|
String |
status()
The deployment status:
|
Deployment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String deploymentId()
The deployment ID.
public final String stackId()
The stack ID.
public final String appId()
The app ID.
public final String createdAt()
Date when the deployment was created.
public final String completedAt()
Date when the deployment completed.
public final Integer duration()
The deployment duration.
public final String iamUserArn()
The user's IAM ARN.
public final String comment()
A user-defined comment.
public final DeploymentCommand command()
Used to specify a stack or deployment command.
public final String status()
The deployment status:
running
successful
failed
running
successful
failed
public final String customJson()
A string that contains user-defined custom JSON. It can be used to override the corresponding default stack configuration attribute values for stack or to pass data to recipes. The string should be in the following format:
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
public final boolean hasInstanceIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> instanceIds()
The IDs of the target instances.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasInstanceIds() method.
public Deployment.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Deployment.Builder,Deployment>public static Deployment.Builder builder()
public static Class<? extends Deployment.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.