Interface CreateBlueGreenDeploymentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateBlueGreenDeploymentResponse.Builder,,CreateBlueGreenDeploymentResponse> RdsResponse.Builder,SdkBuilder<CreateBlueGreenDeploymentResponse.Builder,,CreateBlueGreenDeploymentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateBlueGreenDeploymentResponse
@Mutable
@NotThreadSafe
public static interface CreateBlueGreenDeploymentResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<CreateBlueGreenDeploymentResponse.Builder,CreateBlueGreenDeploymentResponse>
-
Method Summary
Modifier and TypeMethodDescriptionblueGreenDeployment(Consumer<BlueGreenDeployment.Builder> blueGreenDeployment) Sets the value of the BlueGreenDeployment property for this object.blueGreenDeployment(BlueGreenDeployment blueGreenDeployment) Sets the value of the BlueGreenDeployment property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
blueGreenDeployment
CreateBlueGreenDeploymentResponse.Builder blueGreenDeployment(BlueGreenDeployment blueGreenDeployment) Sets the value of the BlueGreenDeployment property for this object.- Parameters:
blueGreenDeployment- The new value for the BlueGreenDeployment property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blueGreenDeployment
default CreateBlueGreenDeploymentResponse.Builder blueGreenDeployment(Consumer<BlueGreenDeployment.Builder> blueGreenDeployment) Sets the value of the BlueGreenDeployment property for this object. This is a convenience method that creates an instance of theBlueGreenDeployment.Builderavoiding the need to create one manually viaBlueGreenDeployment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toblueGreenDeployment(BlueGreenDeployment).- Parameters:
blueGreenDeployment- a consumer that will call methods onBlueGreenDeployment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-