public static interface CreateDeploymentRequest.Builder extends OpsWorksRequest.Builder, SdkPojo, CopyableBuilder<CreateDeploymentRequest.Builder,CreateDeploymentRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, 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. You can use this parameter to override some corresponding default stack configuration JSON values. The string should be in the following format:
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information about custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes and Overriding Attributes With Custom JSON.
customJson - A string that contains user-defined, custom JSON. You can use this parameter to override some
corresponding default stack configuration JSON values. The string should be in the following
format:
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information about custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes and Overriding Attributes With Custom JSON.
CreateDeploymentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateDeploymentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.