Interface GetDeploymentConfigResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeDeployResponse.Builder,CopyableBuilder<GetDeploymentConfigResponse.Builder,,GetDeploymentConfigResponse> SdkBuilder<GetDeploymentConfigResponse.Builder,,GetDeploymentConfigResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDeploymentConfigResponse
@Mutable
@NotThreadSafe
public static interface GetDeploymentConfigResponse.Builder
extends CodeDeployResponse.Builder, SdkPojo, CopyableBuilder<GetDeploymentConfigResponse.Builder,GetDeploymentConfigResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentConfigInfo(Consumer<DeploymentConfigInfo.Builder> deploymentConfigInfo) Information about the deployment configuration.deploymentConfigInfo(DeploymentConfigInfo deploymentConfigInfo) Information about the deployment configuration.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
deploymentConfigInfo
Information about the deployment configuration.
- Parameters:
deploymentConfigInfo- Information about the deployment configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfigInfo
default GetDeploymentConfigResponse.Builder deploymentConfigInfo(Consumer<DeploymentConfigInfo.Builder> deploymentConfigInfo) Information about the deployment configuration.
This is a convenience method that creates an instance of theDeploymentConfigInfo.Builderavoiding the need to create one manually viaDeploymentConfigInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploymentConfigInfo(DeploymentConfigInfo).- Parameters:
deploymentConfigInfo- a consumer that will call methods onDeploymentConfigInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-