Interface BatchGetDeploymentGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeDeployResponse.Builder,CopyableBuilder<BatchGetDeploymentGroupsResponse.Builder,,BatchGetDeploymentGroupsResponse> SdkBuilder<BatchGetDeploymentGroupsResponse.Builder,,BatchGetDeploymentGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetDeploymentGroupsResponse
public static interface BatchGetDeploymentGroupsResponse.Builder
extends CodeDeployResponse.Builder, SdkPojo, CopyableBuilder<BatchGetDeploymentGroupsResponse.Builder,BatchGetDeploymentGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentGroupsInfo(Collection<DeploymentGroupInfo> deploymentGroupsInfo) Information about the deployment groups.deploymentGroupsInfo(Consumer<DeploymentGroupInfo.Builder>... deploymentGroupsInfo) Information about the deployment groups.deploymentGroupsInfo(DeploymentGroupInfo... deploymentGroupsInfo) Information about the deployment groups.errorMessage(String errorMessage) Information about errors that might have occurred during the API call.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
-
deploymentGroupsInfo
BatchGetDeploymentGroupsResponse.Builder deploymentGroupsInfo(Collection<DeploymentGroupInfo> deploymentGroupsInfo) Information about the deployment groups.
- Parameters:
deploymentGroupsInfo- Information about the deployment groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentGroupsInfo
BatchGetDeploymentGroupsResponse.Builder deploymentGroupsInfo(DeploymentGroupInfo... deploymentGroupsInfo) Information about the deployment groups.
- Parameters:
deploymentGroupsInfo- Information about the deployment groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentGroupsInfo
BatchGetDeploymentGroupsResponse.Builder deploymentGroupsInfo(Consumer<DeploymentGroupInfo.Builder>... deploymentGroupsInfo) Information about the deployment groups.
This is a convenience method that creates an instance of theDeploymentGroupInfo.Builderavoiding the need to create one manually viaDeploymentGroupInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploymentGroupsInfo(List<DeploymentGroupInfo>).- Parameters:
deploymentGroupsInfo- a consumer that will call methods onDeploymentGroupInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
Information about errors that might have occurred during the API call.
- Parameters:
errorMessage- Information about errors that might have occurred during the API call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-