public static interface Deployment.Builder extends CopyableBuilder<Deployment.Builder,Deployment>
Modifier and Type | Method and Description |
---|---|
Deployment.Builder |
appId(String appId)
The app ID.
|
default Deployment.Builder |
command(Consumer<DeploymentCommand.Builder> command)
Sets the value of the Command property for this object.
|
Deployment.Builder |
command(DeploymentCommand command)
Sets the value of the Command property for this object.
|
Deployment.Builder |
comment(String comment)
A user-defined comment.
|
Deployment.Builder |
completedAt(String completedAt)
Date when the deployment completed.
|
Deployment.Builder |
createdAt(String createdAt)
Date when the deployment was created.
|
Deployment.Builder |
customJson(String customJson)
A string that contains user-defined custom JSON.
|
Deployment.Builder |
deploymentId(String deploymentId)
The deployment ID.
|
Deployment.Builder |
duration(Integer duration)
The deployment duration.
|
Deployment.Builder |
iamUserArn(String iamUserArn)
The user's IAM ARN.
|
Deployment.Builder |
instanceIds(Collection<String> instanceIds)
The IDs of the target instances.
|
Deployment.Builder |
instanceIds(String... instanceIds)
The IDs of the target instances.
|
Deployment.Builder |
stackId(String stackId)
The stack ID.
|
Deployment.Builder |
status(String status)
The deployment status:
|
copy
applyMutation, build
Deployment.Builder deploymentId(String deploymentId)
The deployment ID.
deploymentId
- The deployment ID.Deployment.Builder stackId(String stackId)
The stack ID.
stackId
- The stack ID.Deployment.Builder appId(String appId)
The app ID.
appId
- The app ID.Deployment.Builder createdAt(String createdAt)
Date when the deployment was created.
createdAt
- Date when the deployment was created.Deployment.Builder completedAt(String completedAt)
Date when the deployment completed.
completedAt
- Date when the deployment completed.Deployment.Builder duration(Integer duration)
The deployment duration.
duration
- The deployment duration.Deployment.Builder iamUserArn(String iamUserArn)
The user's IAM ARN.
iamUserArn
- The user's IAM ARN.Deployment.Builder comment(String comment)
A user-defined comment.
comment
- A user-defined comment.Deployment.Builder command(DeploymentCommand command)
command
- The new value for the Command property for this object.default Deployment.Builder command(Consumer<DeploymentCommand.Builder> command)
DeploymentCommand.Builder
avoiding the need to
create one manually via DeploymentCommand.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to command(DeploymentCommand)
.command
- a consumer that will call methods on DeploymentCommand.Builder
command(DeploymentCommand)
Deployment.Builder status(String status)
The deployment status:
running
successful
failed
status
- The deployment status:
running
successful
failed
Deployment.Builder customJson(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.
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.
Deployment.Builder instanceIds(Collection<String> instanceIds)
The IDs of the target instances.
instanceIds
- The IDs of the target instances.Deployment.Builder instanceIds(String... instanceIds)
The IDs of the target instances.
instanceIds
- The IDs of the target instances.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.