@Generated(value="software.amazon.awssdk:codegen") public class Deployment extends Object implements StructuredPojo, 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()
Returns the value of the Command property for this object.
|
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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
iamUserArn()
The user's IAM ARN.
|
List<String> |
instanceIds()
The IDs of the target instances.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Deployment.Builder> |
serializableBuilderClass() |
String |
stackId()
The stack ID.
|
String |
status()
The deployment status:
|
Deployment.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String deploymentId()
The deployment ID.
public String stackId()
The stack ID.
public String appId()
The app ID.
public String createdAt()
Date when the deployment was created.
public String completedAt()
Date when the deployment completed.
public Integer duration()
The deployment duration.
public String iamUserArn()
The user's IAM ARN.
public String comment()
A user-defined comment.
public DeploymentCommand command()
public String status()
The deployment status:
running
successful
failed
running
successful
failed
public 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 List<String> instanceIds()
The IDs of the target instances.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Deployment.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Deployment.Builder,Deployment>
public static Deployment.Builder builder()
public static Class<? extends Deployment.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.