Interface PendingModifiedValues.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<PendingModifiedValues.Builder,PendingModifiedValues>
,SdkBuilder<PendingModifiedValues.Builder,PendingModifiedValues>
,SdkPojo
- Enclosing class:
- PendingModifiedValues
public static interface PendingModifiedValues.Builder extends SdkPojo, CopyableBuilder<PendingModifiedValues.Builder,PendingModifiedValues>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PendingModifiedValues.Builder
authTokenStatus(String authTokenStatus)
The auth token statusPendingModifiedValues.Builder
authTokenStatus(AuthTokenUpdateStatus authTokenStatus)
The auth token statusPendingModifiedValues.Builder
cacheNodeIdsToRemove(String... cacheNodeIdsToRemove)
A list of cache node IDs that are being removed (or will be removed) from the cluster.PendingModifiedValues.Builder
cacheNodeIdsToRemove(Collection<String> cacheNodeIdsToRemove)
A list of cache node IDs that are being removed (or will be removed) from the cluster.PendingModifiedValues.Builder
cacheNodeType(String cacheNodeType)
The cache node type that this cluster or replication group is scaled to.PendingModifiedValues.Builder
engineVersion(String engineVersion)
The new cache engine version that the cluster runs.PendingModifiedValues.Builder
logDeliveryConfigurations(Collection<PendingLogDeliveryConfiguration> logDeliveryConfigurations)
The log delivery configurations being modifiedPendingModifiedValues.Builder
logDeliveryConfigurations(Consumer<PendingLogDeliveryConfiguration.Builder>... logDeliveryConfigurations)
The log delivery configurations being modifiedPendingModifiedValues.Builder
logDeliveryConfigurations(PendingLogDeliveryConfiguration... logDeliveryConfigurations)
The log delivery configurations being modifiedPendingModifiedValues.Builder
numCacheNodes(Integer numCacheNodes)
The new number of cache nodes for the cluster.PendingModifiedValues.Builder
transitEncryptionEnabled(Boolean transitEncryptionEnabled)
A flag that enables in-transit encryption when set to true.PendingModifiedValues.Builder
transitEncryptionMode(String transitEncryptionMode)
A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.PendingModifiedValues.Builder
transitEncryptionMode(TransitEncryptionMode transitEncryptionMode)
A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.-
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
-
numCacheNodes
PendingModifiedValues.Builder numCacheNodes(Integer numCacheNodes)
The new number of cache nodes for the cluster.
For clusters running Valkey or Redis OSS, this value must be 1. For clusters running Memcached, this value must be between 1 and 40.
- Parameters:
numCacheNodes
- The new number of cache nodes for the cluster.For clusters running Valkey or Redis OSS, this value must be 1. For clusters running Memcached, this value must be between 1 and 40.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheNodeIdsToRemove
PendingModifiedValues.Builder cacheNodeIdsToRemove(Collection<String> cacheNodeIdsToRemove)
A list of cache node IDs that are being removed (or will be removed) from the cluster. A node ID is a 4-digit numeric identifier (0001, 0002, etc.).
- Parameters:
cacheNodeIdsToRemove
- A list of cache node IDs that are being removed (or will be removed) from the cluster. A node ID is a 4-digit numeric identifier (0001, 0002, etc.).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheNodeIdsToRemove
PendingModifiedValues.Builder cacheNodeIdsToRemove(String... cacheNodeIdsToRemove)
A list of cache node IDs that are being removed (or will be removed) from the cluster. A node ID is a 4-digit numeric identifier (0001, 0002, etc.).
- Parameters:
cacheNodeIdsToRemove
- A list of cache node IDs that are being removed (or will be removed) from the cluster. A node ID is a 4-digit numeric identifier (0001, 0002, etc.).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
PendingModifiedValues.Builder engineVersion(String engineVersion)
The new cache engine version that the cluster runs.
- Parameters:
engineVersion
- The new cache engine version that the cluster runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheNodeType
PendingModifiedValues.Builder cacheNodeType(String cacheNodeType)
The cache node type that this cluster or replication group is scaled to.
- Parameters:
cacheNodeType
- The cache node type that this cluster or replication group is scaled to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authTokenStatus
PendingModifiedValues.Builder authTokenStatus(String authTokenStatus)
The auth token status
- Parameters:
authTokenStatus
- The auth token status- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AuthTokenUpdateStatus
,AuthTokenUpdateStatus
-
authTokenStatus
PendingModifiedValues.Builder authTokenStatus(AuthTokenUpdateStatus authTokenStatus)
The auth token status
- Parameters:
authTokenStatus
- The auth token status- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AuthTokenUpdateStatus
,AuthTokenUpdateStatus
-
logDeliveryConfigurations
PendingModifiedValues.Builder logDeliveryConfigurations(Collection<PendingLogDeliveryConfiguration> logDeliveryConfigurations)
The log delivery configurations being modified
- Parameters:
logDeliveryConfigurations
- The log delivery configurations being modified- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logDeliveryConfigurations
PendingModifiedValues.Builder logDeliveryConfigurations(PendingLogDeliveryConfiguration... logDeliveryConfigurations)
The log delivery configurations being modified
- Parameters:
logDeliveryConfigurations
- The log delivery configurations being modified- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logDeliveryConfigurations
PendingModifiedValues.Builder logDeliveryConfigurations(Consumer<PendingLogDeliveryConfiguration.Builder>... logDeliveryConfigurations)
The log delivery configurations being modified
This is a convenience method that creates an instance of thePendingLogDeliveryConfiguration.Builder
avoiding the need to create one manually viaPendingLogDeliveryConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#logDeliveryConfigurations(List
.) - Parameters:
logDeliveryConfigurations
- a consumer that will call methods onPendingLogDeliveryConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#logDeliveryConfigurations(java.util.Collection
)
-
transitEncryptionEnabled
PendingModifiedValues.Builder transitEncryptionEnabled(Boolean transitEncryptionEnabled)
A flag that enables in-transit encryption when set to true.
- Parameters:
transitEncryptionEnabled
- A flag that enables in-transit encryption when set to true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitEncryptionMode
PendingModifiedValues.Builder transitEncryptionMode(String transitEncryptionMode)
A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.
- Parameters:
transitEncryptionMode
- A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TransitEncryptionMode
,TransitEncryptionMode
-
transitEncryptionMode
PendingModifiedValues.Builder transitEncryptionMode(TransitEncryptionMode transitEncryptionMode)
A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.
- Parameters:
transitEncryptionMode
- A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TransitEncryptionMode
,TransitEncryptionMode
-
-