Interface CreateDeploymentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDeploymentRequest.Builder,CreateDeploymentRequest>,OpsWorksRequest.Builder,SdkBuilder<CreateDeploymentRequest.Builder,CreateDeploymentRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDeploymentRequest
public static interface CreateDeploymentRequest.Builder extends OpsWorksRequest.Builder, SdkPojo, CopyableBuilder<CreateDeploymentRequest.Builder,CreateDeploymentRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
stackId
CreateDeploymentRequest.Builder stackId(String stackId)
The stack ID.
- Parameters:
stackId- The stack ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appId
CreateDeploymentRequest.Builder appId(String appId)
The app ID. This parameter is required for app deployments, but not for other deployment commands.
- Parameters:
appId- The app ID. This parameter is required for app deployments, but not for other deployment commands.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceIds
CreateDeploymentRequest.Builder instanceIds(Collection<String> instanceIds)
The instance IDs for the deployment targets.
- Parameters:
instanceIds- The instance IDs for the deployment targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceIds
CreateDeploymentRequest.Builder instanceIds(String... instanceIds)
The instance IDs for the deployment targets.
- Parameters:
instanceIds- The instance IDs for the deployment targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layerIds
CreateDeploymentRequest.Builder layerIds(Collection<String> layerIds)
The layer IDs for the deployment targets.
- Parameters:
layerIds- The layer IDs for the deployment targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layerIds
CreateDeploymentRequest.Builder layerIds(String... layerIds)
The layer IDs for the deployment targets.
- Parameters:
layerIds- The layer IDs for the deployment targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
command
CreateDeploymentRequest.Builder command(DeploymentCommand command)
A
DeploymentCommandobject that specifies the deployment command and any associated arguments.- Parameters:
command- ADeploymentCommandobject that specifies the deployment command and any associated arguments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
command
default CreateDeploymentRequest.Builder command(Consumer<DeploymentCommand.Builder> command)
A
This is a convenience method that creates an instance of theDeploymentCommandobject that specifies the deployment command and any associated arguments.DeploymentCommand.Builderavoiding the need to create one manually viaDeploymentCommand.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocommand(DeploymentCommand).- Parameters:
command- a consumer that will call methods onDeploymentCommand.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
command(DeploymentCommand)
-
comment
CreateDeploymentRequest.Builder comment(String comment)
A user-defined comment.
- Parameters:
comment- A user-defined comment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customJson
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDeploymentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDeploymentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-