Interface ClusterOperationV2Serverless.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterOperationV2Serverless.Builder,,ClusterOperationV2Serverless> SdkBuilder<ClusterOperationV2Serverless.Builder,,ClusterOperationV2Serverless> SdkPojo
- Enclosing class:
ClusterOperationV2Serverless
@Mutable
@NotThreadSafe
public static interface ClusterOperationV2Serverless.Builder
extends SdkPojo, CopyableBuilder<ClusterOperationV2Serverless.Builder,ClusterOperationV2Serverless>
-
Method Summary
Modifier and TypeMethodDescriptionvpcConnectionInfo(Consumer<VpcConnectionInfoServerless.Builder> vpcConnectionInfo) Description of the VPC connection for CreateVpcConnection and DeleteVpcConnection operations.vpcConnectionInfo(VpcConnectionInfoServerless vpcConnectionInfo) Description of the VPC connection for CreateVpcConnection and DeleteVpcConnection operations.Methods 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, sdkFields
-
Method Details
-
vpcConnectionInfo
ClusterOperationV2Serverless.Builder vpcConnectionInfo(VpcConnectionInfoServerless vpcConnectionInfo) Description of the VPC connection for CreateVpcConnection and DeleteVpcConnection operations.
- Parameters:
vpcConnectionInfo-Description of the VPC connection for CreateVpcConnection and DeleteVpcConnection operations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConnectionInfo
default ClusterOperationV2Serverless.Builder vpcConnectionInfo(Consumer<VpcConnectionInfoServerless.Builder> vpcConnectionInfo) Description of the VPC connection for CreateVpcConnection and DeleteVpcConnection operations.
This is a convenience method that creates an instance of theVpcConnectionInfoServerless.Builderavoiding the need to create one manually viaVpcConnectionInfoServerless.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConnectionInfo(VpcConnectionInfoServerless).- Parameters:
vpcConnectionInfo- a consumer that will call methods onVpcConnectionInfoServerless.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-