Interface ClusterOperationV2Serverless.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterOperationV2Serverless.Builder,,ClusterOperationV2Serverless> SdkBuilder<ClusterOperationV2Serverless.Builder,,ClusterOperationV2Serverless> SdkPojo
- Enclosing class:
ClusterOperationV2Serverless
-
Method Summary
Modifier and TypeMethodDescriptionsourceClusterInfo(Consumer<ServerlessConnectivityInfo.Builder> sourceClusterInfo) Describes the cluster's attributes before any updates are applied.sourceClusterInfo(ServerlessConnectivityInfo sourceClusterInfo) Describes the cluster's attributes before any updates are applied.targetClusterInfo(Consumer<ServerlessConnectivityInfo.Builder> targetClusterInfo) Describes the cluster's attributes after any updates are applied.targetClusterInfo(ServerlessConnectivityInfo targetClusterInfo) Describes the cluster's attributes after any updates are applied.vpcConnectionInfo(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
-
sourceClusterInfo
ClusterOperationV2Serverless.Builder sourceClusterInfo(ServerlessConnectivityInfo sourceClusterInfo) Describes the cluster's attributes before any updates are applied. For example, networkType, which can be either IPv4 or DUAL.
- Parameters:
sourceClusterInfo-Describes the cluster's attributes before any updates are applied. For example, networkType, which can be either IPv4 or DUAL.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceClusterInfo
default ClusterOperationV2Serverless.Builder sourceClusterInfo(Consumer<ServerlessConnectivityInfo.Builder> sourceClusterInfo) Describes the cluster's attributes before any updates are applied. For example, networkType, which can be either IPv4 or DUAL.
This is a convenience method that creates an instance of theServerlessConnectivityInfo.Builderavoiding the need to create one manually viaServerlessConnectivityInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceClusterInfo(ServerlessConnectivityInfo).- Parameters:
sourceClusterInfo- a consumer that will call methods onServerlessConnectivityInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetClusterInfo
ClusterOperationV2Serverless.Builder targetClusterInfo(ServerlessConnectivityInfo targetClusterInfo) Describes the cluster's attributes after any updates are applied. For example, networkType, which can be either IPv4 or DUAL.
- Parameters:
targetClusterInfo-Describes the cluster's attributes after any updates are applied. For example, networkType, which can be either IPv4 or DUAL.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetClusterInfo
default ClusterOperationV2Serverless.Builder targetClusterInfo(Consumer<ServerlessConnectivityInfo.Builder> targetClusterInfo) Describes the cluster's attributes after any updates are applied. For example, networkType, which can be either IPv4 or DUAL.
This is a convenience method that creates an instance of theServerlessConnectivityInfo.Builderavoiding the need to create one manually viaServerlessConnectivityInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetClusterInfo(ServerlessConnectivityInfo).- Parameters:
targetClusterInfo- a consumer that will call methods onServerlessConnectivityInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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:
-