Interface GlobalCluster.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GlobalCluster.Builder,GlobalCluster>,SdkBuilder<GlobalCluster.Builder,GlobalCluster>,SdkPojo
- Enclosing class:
- GlobalCluster
public static interface GlobalCluster.Builder extends SdkPojo, CopyableBuilder<GlobalCluster.Builder,GlobalCluster>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GlobalCluster.BuilderdeletionProtection(Boolean deletionProtection)The deletion protection setting for the global database.GlobalCluster.Builderengine(String engine)The Neptune database engine used by the global database ("neptune").GlobalCluster.BuilderengineVersion(String engineVersion)The Neptune engine version used by the global database.GlobalCluster.BuilderglobalClusterArn(String globalClusterArn)The Amazon Resource Name (ARN) for the global database.GlobalCluster.BuilderglobalClusterIdentifier(String globalClusterIdentifier)Contains a user-supplied global database cluster identifier.GlobalCluster.BuilderglobalClusterMembers(Collection<GlobalClusterMember> globalClusterMembers)A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.GlobalCluster.BuilderglobalClusterMembers(Consumer<GlobalClusterMember.Builder>... globalClusterMembers)A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.GlobalCluster.BuilderglobalClusterMembers(GlobalClusterMember... globalClusterMembers)A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.GlobalCluster.BuilderglobalClusterResourceId(String globalClusterResourceId)An immutable identifier for the global database that is unique within in all regions.GlobalCluster.Builderstatus(String status)Specifies the current state of this global database.GlobalCluster.BuilderstorageEncrypted(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
globalClusterIdentifier
GlobalCluster.Builder globalClusterIdentifier(String 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
GlobalCluster.Builder globalClusterResourceId(String 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
GlobalCluster.Builder globalClusterArn(String 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
GlobalCluster.Builder status(String 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
GlobalCluster.Builder engine(String 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
GlobalCluster.Builder engineVersion(String 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
GlobalCluster.Builder storageEncrypted(Boolean 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
GlobalCluster.Builder deletionProtection(Boolean 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
GlobalCluster.Builder globalClusterMembers(Collection<GlobalClusterMember> 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(GlobalClusterMember... 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.Builderavoiding the need to create one manually viaGlobalClusterMember.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#globalClusterMembers(List.) - 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:
#globalClusterMembers(java.util.Collection)
-
-