CopyableBuilder<CreateDeploymentRequest.Builder,CreateDeploymentRequest>
, SdkBuilder<CreateDeploymentRequest.Builder,CreateDeploymentRequest>
public static interface CreateDeploymentRequest.Builder extends CopyableBuilder<CreateDeploymentRequest.Builder,CreateDeploymentRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateDeploymentRequest.Builder |
appId(String appId) |
The app ID.
|
CreateDeploymentRequest.Builder |
command(DeploymentCommand command) |
A
DeploymentCommand object that specifies the deployment command and any associated arguments. |
CreateDeploymentRequest.Builder |
comment(String comment) |
A user-defined comment.
|
CreateDeploymentRequest.Builder |
customJson(String customJson) |
A string that contains user-defined, custom JSON.
|
CreateDeploymentRequest.Builder |
instanceIds(String... instanceIds) |
The instance IDs for the deployment targets.
|
CreateDeploymentRequest.Builder |
instanceIds(Collection<String> instanceIds) |
The instance IDs for the deployment targets.
|
CreateDeploymentRequest.Builder |
layerIds(String... layerIds) |
The layer IDs for the deployment targets.
|
CreateDeploymentRequest.Builder |
layerIds(Collection<String> layerIds) |
The layer IDs for the deployment targets.
|
CreateDeploymentRequest.Builder |
stackId(String stackId) |
The stack ID.
|
copy
apply, build
CreateDeploymentRequest.Builder stackId(String stackId)
The stack ID.
stackId
- The stack ID.CreateDeploymentRequest.Builder appId(String appId)
The app ID. This parameter is required for app deployments, but not for other deployment commands.
appId
- The app ID. This parameter is required for app deployments, but not for other deployment commands.CreateDeploymentRequest.Builder instanceIds(Collection<String> instanceIds)
The instance IDs for the deployment targets.
instanceIds
- The instance IDs for the deployment targets.CreateDeploymentRequest.Builder instanceIds(String... instanceIds)
The instance IDs for the deployment targets.
NOTE: This method appends the values to the existing list (if any). Use
#setInstanceIds(java.util.Collection)
or #withInstanceIds(java.util.Collection)
if you want
to override the existing values.
instanceIds
- The instance IDs for the deployment targets.CreateDeploymentRequest.Builder layerIds(Collection<String> layerIds)
The layer IDs for the deployment targets.
layerIds
- The layer IDs for the deployment targets.CreateDeploymentRequest.Builder layerIds(String... layerIds)
The layer IDs for the deployment targets.
NOTE: This method appends the values to the existing list (if any). Use
#setLayerIds(java.util.Collection)
or #withLayerIds(java.util.Collection)
if you want to
override the existing values.
layerIds
- The layer IDs for the deployment targets.CreateDeploymentRequest.Builder command(DeploymentCommand command)
A DeploymentCommand
object that specifies the deployment command and any associated arguments.
command
- A DeploymentCommand
object that specifies the deployment command and any associated
arguments.CreateDeploymentRequest.Builder comment(String comment)
A user-defined comment.
comment
- A user-defined comment.CreateDeploymentRequest.Builder customJson(String customJson)
A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. 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 is used to override the corresponding default
stack configuration JSON values. 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.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.