Interface GlobalReplicationGroup.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GlobalReplicationGroup.Builder,GlobalReplicationGroup>,SdkBuilder<GlobalReplicationGroup.Builder,GlobalReplicationGroup>,SdkPojo
- Enclosing class:
- GlobalReplicationGroup
public static interface GlobalReplicationGroup.Builder extends SdkPojo, CopyableBuilder<GlobalReplicationGroup.Builder,GlobalReplicationGroup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GlobalReplicationGroup.Builderarn(String arn)The ARN (Amazon Resource Name) of the global replication group.GlobalReplicationGroup.BuilderatRestEncryptionEnabled(Boolean atRestEncryptionEnabled)A flag that enables encryption at rest when set totrue.GlobalReplicationGroup.BuilderauthTokenEnabled(Boolean authTokenEnabled)A flag that enables using anAuthToken(password) when issuing Valkey or Redis OSS commands.GlobalReplicationGroup.BuildercacheNodeType(String cacheNodeType)The cache node type of the Global datastoreGlobalReplicationGroup.BuilderclusterEnabled(Boolean clusterEnabled)A flag that indicates whether the Global datastore is cluster enabled.GlobalReplicationGroup.Builderengine(String engine)The ElastiCache engine.GlobalReplicationGroup.BuilderengineVersion(String engineVersion)The ElastiCache engine version.GlobalReplicationGroup.BuilderglobalNodeGroups(Collection<GlobalNodeGroup> globalNodeGroups)Indicates the slot configuration and global identifier for each slice group.GlobalReplicationGroup.BuilderglobalNodeGroups(Consumer<GlobalNodeGroup.Builder>... globalNodeGroups)Indicates the slot configuration and global identifier for each slice group.GlobalReplicationGroup.BuilderglobalNodeGroups(GlobalNodeGroup... globalNodeGroups)Indicates the slot configuration and global identifier for each slice group.GlobalReplicationGroup.BuilderglobalReplicationGroupDescription(String globalReplicationGroupDescription)The optional description of the Global datastoreGlobalReplicationGroup.BuilderglobalReplicationGroupId(String globalReplicationGroupId)The name of the Global datastoreGlobalReplicationGroup.Buildermembers(Collection<GlobalReplicationGroupMember> members)The replication groups that comprise the Global datastore.GlobalReplicationGroup.Buildermembers(Consumer<GlobalReplicationGroupMember.Builder>... members)The replication groups that comprise the Global datastore.GlobalReplicationGroup.Buildermembers(GlobalReplicationGroupMember... members)The replication groups that comprise the Global datastore.GlobalReplicationGroup.Builderstatus(String status)The status of the Global datastoreGlobalReplicationGroup.BuildertransitEncryptionEnabled(Boolean transitEncryptionEnabled)A flag that enables in-transit encryption when set to true.-
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
-
globalReplicationGroupId
GlobalReplicationGroup.Builder globalReplicationGroupId(String globalReplicationGroupId)
The name of the Global datastore
- Parameters:
globalReplicationGroupId- The name of the Global datastore- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalReplicationGroupDescription
GlobalReplicationGroup.Builder globalReplicationGroupDescription(String globalReplicationGroupDescription)
The optional description of the Global datastore
- Parameters:
globalReplicationGroupDescription- The optional description of the Global datastore- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GlobalReplicationGroup.Builder status(String status)
The status of the Global datastore
- Parameters:
status- The status of the Global datastore- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheNodeType
GlobalReplicationGroup.Builder cacheNodeType(String cacheNodeType)
The cache node type of the Global datastore
- Parameters:
cacheNodeType- The cache node type of the Global datastore- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engine
GlobalReplicationGroup.Builder engine(String engine)
The ElastiCache engine. For Valkey or Redis OSS only.
- Parameters:
engine- The ElastiCache engine. For Valkey or Redis OSS only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
GlobalReplicationGroup.Builder engineVersion(String engineVersion)
The ElastiCache engine version.
- Parameters:
engineVersion- The ElastiCache engine version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
members
GlobalReplicationGroup.Builder members(Collection<GlobalReplicationGroupMember> members)
The replication groups that comprise the Global datastore.
- Parameters:
members- The replication groups that comprise the Global datastore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
members
GlobalReplicationGroup.Builder members(GlobalReplicationGroupMember... members)
The replication groups that comprise the Global datastore.
- Parameters:
members- The replication groups that comprise the Global datastore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
members
GlobalReplicationGroup.Builder members(Consumer<GlobalReplicationGroupMember.Builder>... members)
The replication groups that comprise the Global datastore.
This is a convenience method that creates an instance of theGlobalReplicationGroupMember.Builderavoiding the need to create one manually viaGlobalReplicationGroupMember.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#members(List.) - Parameters:
members- a consumer that will call methods onGlobalReplicationGroupMember.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#members(java.util.Collection)
-
clusterEnabled
GlobalReplicationGroup.Builder clusterEnabled(Boolean clusterEnabled)
A flag that indicates whether the Global datastore is cluster enabled.
- Parameters:
clusterEnabled- A flag that indicates whether the Global datastore is cluster enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalNodeGroups
GlobalReplicationGroup.Builder globalNodeGroups(Collection<GlobalNodeGroup> globalNodeGroups)
Indicates the slot configuration and global identifier for each slice group.
- Parameters:
globalNodeGroups- Indicates the slot configuration and global identifier for each slice group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalNodeGroups
GlobalReplicationGroup.Builder globalNodeGroups(GlobalNodeGroup... globalNodeGroups)
Indicates the slot configuration and global identifier for each slice group.
- Parameters:
globalNodeGroups- Indicates the slot configuration and global identifier for each slice group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalNodeGroups
GlobalReplicationGroup.Builder globalNodeGroups(Consumer<GlobalNodeGroup.Builder>... globalNodeGroups)
Indicates the slot configuration and global identifier for each slice group.
This is a convenience method that creates an instance of theGlobalNodeGroup.Builderavoiding the need to create one manually viaGlobalNodeGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#globalNodeGroups(List.) - Parameters:
globalNodeGroups- a consumer that will call methods onGlobalNodeGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#globalNodeGroups(java.util.Collection)
-
authTokenEnabled
GlobalReplicationGroup.Builder authTokenEnabled(Boolean authTokenEnabled)
A flag that enables using an
AuthToken(password) when issuing Valkey or Redis OSS commands.Default:
false- Parameters:
authTokenEnabled- A flag that enables using anAuthToken(password) when issuing Valkey or Redis OSS commands.Default:
false- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitEncryptionEnabled
GlobalReplicationGroup.Builder transitEncryptionEnabled(Boolean transitEncryptionEnabled)
A flag that enables in-transit encryption when set to true.
Required: Only available when creating a replication group in an Amazon VPC using Redis OSS version
3.2.6,4.xor later.- Parameters:
transitEncryptionEnabled- A flag that enables in-transit encryption when set to true.Required: Only available when creating a replication group in an Amazon VPC using Redis OSS version
3.2.6,4.xor later.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
atRestEncryptionEnabled
GlobalReplicationGroup.Builder atRestEncryptionEnabled(Boolean atRestEncryptionEnabled)
A flag that enables encryption at rest when set to
true.You cannot modify the value of
AtRestEncryptionEnabledafter the replication group is created. To enable encryption at rest on a replication group you must setAtRestEncryptionEnabledtotruewhen you create the replication group.Required: Only available when creating a replication group in an Amazon VPC using Redis OSS version
3.2.6,4.xor later.- Parameters:
atRestEncryptionEnabled- A flag that enables encryption at rest when set totrue.You cannot modify the value of
AtRestEncryptionEnabledafter the replication group is created. To enable encryption at rest on a replication group you must setAtRestEncryptionEnabledtotruewhen you create the replication group.Required: Only available when creating a replication group in an Amazon VPC using Redis OSS version
3.2.6,4.xor later.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
GlobalReplicationGroup.Builder arn(String arn)
The ARN (Amazon Resource Name) of the global replication group.
- Parameters:
arn- The ARN (Amazon Resource Name) of the global replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-