Interface BatchGetDeploymentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeDeployResponse.Builder,CopyableBuilder<BatchGetDeploymentsResponse.Builder,,BatchGetDeploymentsResponse> SdkBuilder<BatchGetDeploymentsResponse.Builder,,BatchGetDeploymentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetDeploymentsResponse
public static interface BatchGetDeploymentsResponse.Builder
extends CodeDeployResponse.Builder, SdkPojo, CopyableBuilder<BatchGetDeploymentsResponse.Builder,BatchGetDeploymentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentsInfo(Collection<DeploymentInfo> deploymentsInfo) Information about the deployments.deploymentsInfo(Consumer<DeploymentInfo.Builder>... deploymentsInfo) Information about the deployments.deploymentsInfo(DeploymentInfo... deploymentsInfo) Information about the deployments.Methods inherited from interface software.amazon.awssdk.services.codedeploy.model.CodeDeployResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
deploymentsInfo
Information about the deployments.
- Parameters:
deploymentsInfo- Information about the deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentsInfo
Information about the deployments.
- Parameters:
deploymentsInfo- Information about the deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentsInfo
BatchGetDeploymentsResponse.Builder deploymentsInfo(Consumer<DeploymentInfo.Builder>... deploymentsInfo) Information about the deployments.
This is a convenience method that creates an instance of theDeploymentInfo.Builderavoiding the need to create one manually viaDeploymentInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploymentsInfo(List<DeploymentInfo>).- Parameters:
deploymentsInfo- a consumer that will call methods onDeploymentInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-