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 Details

    • numCacheNodes

      PendingModifiedValues.Builder numCacheNodes(Integer numCacheNodes)

      The new number of cache nodes for the cluster.

      For clusters running Redis, 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 Redis, 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:
    • 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:
    • 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 the PendingLogDeliveryConfiguration.Builder avoiding the need to create one manually via PendingLogDeliveryConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to logDeliveryConfigurations(List<PendingLogDeliveryConfiguration>).

      Parameters:
      logDeliveryConfigurations - a consumer that will call methods on PendingLogDeliveryConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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: