Interface BatchGetDeploymentTargetsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeDeployRequest.Builder,CopyableBuilder<BatchGetDeploymentTargetsRequest.Builder,,BatchGetDeploymentTargetsRequest> SdkBuilder<BatchGetDeploymentTargetsRequest.Builder,,BatchGetDeploymentTargetsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchGetDeploymentTargetsRequest
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentId(String deploymentId) The unique ID of a deployment.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The unique IDs of the deployment targets.targetIds(Collection<String> targetIds) The unique IDs of the deployment targets.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codedeploy.model.CodeDeployRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
deploymentId
The unique ID of a deployment.
- Parameters:
deploymentId- The unique ID of a deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetIds
The unique IDs of the deployment targets. The compute platform of the deployment determines the type of the targets and their formats. The maximum number of deployment target IDs you can specify is 25.
-
For deployments that use the EC2/On-premises compute platform, the target IDs are Amazon EC2 or on-premises instances IDs, and their target type is
instanceTarget. -
For deployments that use the Lambda compute platform, the target IDs are the names of Lambda functions, and their target type is
instanceTarget. -
For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters and services specified using the format
<clustername>:<servicename>. Their target type isecsTarget. -
For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their target type is
cloudFormationTarget.
- Parameters:
targetIds- The unique IDs of the deployment targets. The compute platform of the deployment determines the type of the targets and their formats. The maximum number of deployment target IDs you can specify is 25.-
For deployments that use the EC2/On-premises compute platform, the target IDs are Amazon EC2 or on-premises instances IDs, and their target type is
instanceTarget. -
For deployments that use the Lambda compute platform, the target IDs are the names of Lambda functions, and their target type is
instanceTarget. -
For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters and services specified using the format
<clustername>:<servicename>. Their target type isecsTarget. -
For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their target type is
cloudFormationTarget.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
targetIds
The unique IDs of the deployment targets. The compute platform of the deployment determines the type of the targets and their formats. The maximum number of deployment target IDs you can specify is 25.
-
For deployments that use the EC2/On-premises compute platform, the target IDs are Amazon EC2 or on-premises instances IDs, and their target type is
instanceTarget. -
For deployments that use the Lambda compute platform, the target IDs are the names of Lambda functions, and their target type is
instanceTarget. -
For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters and services specified using the format
<clustername>:<servicename>. Their target type isecsTarget. -
For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their target type is
cloudFormationTarget.
- Parameters:
targetIds- The unique IDs of the deployment targets. The compute platform of the deployment determines the type of the targets and their formats. The maximum number of deployment target IDs you can specify is 25.-
For deployments that use the EC2/On-premises compute platform, the target IDs are Amazon EC2 or on-premises instances IDs, and their target type is
instanceTarget. -
For deployments that use the Lambda compute platform, the target IDs are the names of Lambda functions, and their target type is
instanceTarget. -
For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters and services specified using the format
<clustername>:<servicename>. Their target type isecsTarget. -
For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their target type is
cloudFormationTarget.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
BatchGetDeploymentTargetsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchGetDeploymentTargetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-