Interface GlobalCluster.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GlobalCluster.Builder,
,GlobalCluster> SdkBuilder<GlobalCluster.Builder,
,GlobalCluster> SdkPojo
- Enclosing class:
GlobalCluster
-
Method Summary
Modifier and TypeMethodDescriptiondeletionProtection
(Boolean deletionProtection) The deletion protection setting for the global database.The Neptune database engine used by the global database ("neptune"
).engineVersion
(String engineVersion) The Neptune engine version used by the global database.globalClusterArn
(String globalClusterArn) The Amazon Resource Name (ARN) for the global database.globalClusterIdentifier
(String globalClusterIdentifier) Contains a user-supplied global database cluster identifier.globalClusterMembers
(Collection<GlobalClusterMember> globalClusterMembers) A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.globalClusterMembers
(Consumer<GlobalClusterMember.Builder>... globalClusterMembers) A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.globalClusterMembers
(GlobalClusterMember... globalClusterMembers) A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.globalClusterResourceId
(String globalClusterResourceId) An immutable identifier for the global database that is unique within in all regions.Specifies the current state of this global database.storageEncrypted
(Boolean storageEncrypted) The storage encryption setting for the global database.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
globalClusterIdentifier
Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database.
- Parameters:
globalClusterIdentifier
- Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalClusterResourceId
An immutable identifier for the global database that is unique within in all regions. This identifier is found in CloudTrail log entries whenever the KMS key for the DB cluster is accessed.
- Parameters:
globalClusterResourceId
- An immutable identifier for the global database that is unique within in all regions. This identifier is found in CloudTrail log entries whenever the KMS key for the DB cluster is accessed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalClusterArn
The Amazon Resource Name (ARN) for the global database.
- Parameters:
globalClusterArn
- The Amazon Resource Name (ARN) for the global database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Specifies the current state of this global database.
- Parameters:
status
- Specifies the current state of this global database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engine
The Neptune database engine used by the global database (
"neptune"
).- Parameters:
engine
- The Neptune database engine used by the global database ("neptune"
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
The Neptune engine version used by the global database.
- Parameters:
engineVersion
- The Neptune engine version used by the global database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageEncrypted
The storage encryption setting for the global database.
- Parameters:
storageEncrypted
- The storage encryption setting for the global database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtection
The deletion protection setting for the global database.
- Parameters:
deletionProtection
- The deletion protection setting for the global database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalClusterMembers
A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.
- Parameters:
globalClusterMembers
- A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalClusterMembers
A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.
- Parameters:
globalClusterMembers
- A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalClusterMembers
GlobalCluster.Builder globalClusterMembers(Consumer<GlobalClusterMember.Builder>... globalClusterMembers) A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.
This is a convenience method that creates an instance of theGlobalClusterMember.Builder
avoiding the need to create one manually viaGlobalClusterMember.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toglobalClusterMembers(List<GlobalClusterMember>)
.- Parameters:
globalClusterMembers
- a consumer that will call methods onGlobalClusterMember.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-