Interface SwitchoverBlueGreenDeploymentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<SwitchoverBlueGreenDeploymentResponse.Builder,
,SwitchoverBlueGreenDeploymentResponse> RdsResponse.Builder
,SdkBuilder<SwitchoverBlueGreenDeploymentResponse.Builder,
,SwitchoverBlueGreenDeploymentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SwitchoverBlueGreenDeploymentResponse
public static interface SwitchoverBlueGreenDeploymentResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<SwitchoverBlueGreenDeploymentResponse.Builder,SwitchoverBlueGreenDeploymentResponse>
-
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
copy
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
blueGreenDeployment
SwitchoverBlueGreenDeploymentResponse.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 SwitchoverBlueGreenDeploymentResponse.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.Builder
avoiding the need to create one manually viaBlueGreenDeployment.builder()
.When the
Consumer
completes,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:
-