Interface PendingModifiedValues.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PendingModifiedValues.Builder,
,PendingModifiedValues> SdkBuilder<PendingModifiedValues.Builder,
,PendingModifiedValues> SdkPojo
- Enclosing class:
PendingModifiedValues
-
Method Summary
Modifier and TypeMethodDescriptionauthTokenStatus
(String authTokenStatus) The auth token statusauthTokenStatus
(AuthTokenUpdateStatus authTokenStatus) The auth token statuscacheNodeIdsToRemove
(String... cacheNodeIdsToRemove) A list of cache node IDs that are being removed (or will be removed) from the cluster.cacheNodeIdsToRemove
(Collection<String> cacheNodeIdsToRemove) A list of cache node IDs that are being removed (or will be removed) from the cluster.cacheNodeType
(String cacheNodeType) The cache node type that this cluster or replication group is scaled to.engineVersion
(String engineVersion) The new cache engine version that the cluster runs.logDeliveryConfigurations
(Collection<PendingLogDeliveryConfiguration> logDeliveryConfigurations) The log delivery configurations being modifiedlogDeliveryConfigurations
(Consumer<PendingLogDeliveryConfiguration.Builder>... logDeliveryConfigurations) The log delivery configurations being modifiedlogDeliveryConfigurations
(PendingLogDeliveryConfiguration... logDeliveryConfigurations) The log delivery configurations being modifiednumCacheNodes
(Integer numCacheNodes) The new number of cache nodes for the cluster.transitEncryptionEnabled
(Boolean transitEncryptionEnabled) A flag that enables in-transit encryption when set to true.transitEncryptionMode
(String transitEncryptionMode) A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.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, sdkFields
-
Method Details
-
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
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
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
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
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
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:
-
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:
-
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 tologDeliveryConfigurations(List<PendingLogDeliveryConfiguration>)
.- 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:
-
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
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
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:
-