public static interface CreateDeploymentRequest.Builder extends OpsWorksRequest.Builder, CopyableBuilder<CreateDeploymentRequest.Builder,CreateDeploymentRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateDeploymentRequest.Builder |
appId(String appId)
The app ID.
|
default CreateDeploymentRequest.Builder |
command(Consumer<DeploymentCommand.Builder> command)
A
DeploymentCommand object that specifies the deployment command and any associated arguments. |
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(Collection<String> instanceIds)
The instance IDs for the deployment targets.
|
CreateDeploymentRequest.Builder |
instanceIds(String... instanceIds)
The instance IDs for the deployment targets.
|
CreateDeploymentRequest.Builder |
layerIds(Collection<String> layerIds)
The layer IDs for the deployment targets.
|
CreateDeploymentRequest.Builder |
layerIds(String... layerIds)
The layer IDs for the deployment targets.
|
CreateDeploymentRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateDeploymentRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateDeploymentRequest.Builder |
stackId(String stackId)
The stack ID.
|
buildrequestOverrideConfigcopyapply, buildCreateDeploymentRequest.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.
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.
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.default CreateDeploymentRequest.Builder command(Consumer<DeploymentCommand.Builder> command)
A DeploymentCommand object that specifies the deployment command and any associated arguments.
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.Buildercommand(DeploymentCommand)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.
CreateDeploymentRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateDeploymentRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.