Interface GetDeploymentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeDeployResponse.Builder,CopyableBuilder<GetDeploymentResponse.Builder,,GetDeploymentResponse> SdkBuilder<GetDeploymentResponse.Builder,,GetDeploymentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDeploymentResponse
public static interface GetDeploymentResponse.Builder
extends CodeDeployResponse.Builder, SdkPojo, CopyableBuilder<GetDeploymentResponse.Builder,GetDeploymentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetDeploymentResponse.BuilderdeploymentInfo(Consumer<DeploymentInfo.Builder> deploymentInfo) Information about the deployment.deploymentInfo(DeploymentInfo deploymentInfo) Information about the deployment.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
-
deploymentInfo
Information about the deployment.
- Parameters:
deploymentInfo- Information about the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentInfo
default GetDeploymentResponse.Builder deploymentInfo(Consumer<DeploymentInfo.Builder> deploymentInfo) Information about the deployment.
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 todeploymentInfo(DeploymentInfo).- Parameters:
deploymentInfo- 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:
-