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