Interface UpdateAction.Builder

All Superinterfaces:
Buildable, CopyableBuilder<UpdateAction.Builder,UpdateAction>, SdkBuilder<UpdateAction.Builder,UpdateAction>, SdkPojo
Enclosing class:
UpdateAction

public static interface UpdateAction.Builder extends SdkPojo, CopyableBuilder<UpdateAction.Builder,UpdateAction>
  • Method Details

    • replicationGroupId

      UpdateAction.Builder replicationGroupId(String replicationGroupId)

      The ID of the replication group

      Parameters:
      replicationGroupId - The ID of the replication group
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheClusterId

      UpdateAction.Builder cacheClusterId(String cacheClusterId)

      The ID of the cache cluster

      Parameters:
      cacheClusterId - The ID of the cache cluster
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceUpdateName

      UpdateAction.Builder serviceUpdateName(String serviceUpdateName)

      The unique ID of the service update

      Parameters:
      serviceUpdateName - The unique ID of the service update
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceUpdateReleaseDate

      UpdateAction.Builder serviceUpdateReleaseDate(Instant serviceUpdateReleaseDate)

      The date the update is first available

      Parameters:
      serviceUpdateReleaseDate - The date the update is first available
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceUpdateSeverity

      UpdateAction.Builder serviceUpdateSeverity(String serviceUpdateSeverity)

      The severity of the service update

      Parameters:
      serviceUpdateSeverity - The severity of the service update
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serviceUpdateSeverity

      UpdateAction.Builder serviceUpdateSeverity(ServiceUpdateSeverity serviceUpdateSeverity)

      The severity of the service update

      Parameters:
      serviceUpdateSeverity - The severity of the service update
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serviceUpdateStatus

      UpdateAction.Builder serviceUpdateStatus(String serviceUpdateStatus)

      The status of the service update

      Parameters:
      serviceUpdateStatus - The status of the service update
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serviceUpdateStatus

      UpdateAction.Builder serviceUpdateStatus(ServiceUpdateStatus serviceUpdateStatus)

      The status of the service update

      Parameters:
      serviceUpdateStatus - The status of the service update
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serviceUpdateRecommendedApplyByDate

      UpdateAction.Builder serviceUpdateRecommendedApplyByDate(Instant serviceUpdateRecommendedApplyByDate)

      The recommended date to apply the service update to ensure compliance. For information on compliance, see Self-Service Security Updates for Compliance.

      Parameters:
      serviceUpdateRecommendedApplyByDate - The recommended date to apply the service update to ensure compliance. For information on compliance, see Self-Service Security Updates for Compliance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceUpdateType

      UpdateAction.Builder serviceUpdateType(String serviceUpdateType)

      Reflects the nature of the service update

      Parameters:
      serviceUpdateType - Reflects the nature of the service update
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serviceUpdateType

      UpdateAction.Builder serviceUpdateType(ServiceUpdateType serviceUpdateType)

      Reflects the nature of the service update

      Parameters:
      serviceUpdateType - Reflects the nature of the service update
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updateActionAvailableDate

      UpdateAction.Builder updateActionAvailableDate(Instant updateActionAvailableDate)

      The date that the service update is available to a replication group

      Parameters:
      updateActionAvailableDate - The date that the service update is available to a replication group
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updateActionStatus

      UpdateAction.Builder updateActionStatus(String updateActionStatus)

      The status of the update action

      Parameters:
      updateActionStatus - The status of the update action
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updateActionStatus

      UpdateAction.Builder updateActionStatus(UpdateActionStatus updateActionStatus)

      The status of the update action

      Parameters:
      updateActionStatus - The status of the update action
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nodesUpdated

      UpdateAction.Builder nodesUpdated(String nodesUpdated)

      The progress of the service update on the replication group

      Parameters:
      nodesUpdated - The progress of the service update on the replication group
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updateActionStatusModifiedDate

      UpdateAction.Builder updateActionStatusModifiedDate(Instant updateActionStatusModifiedDate)

      The date when the UpdateActionStatus was last modified

      Parameters:
      updateActionStatusModifiedDate - The date when the UpdateActionStatus was last modified
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slaMet

      UpdateAction.Builder slaMet(String slaMet)

      If yes, all nodes in the replication group have been updated by the recommended apply-by date. If no, at least one node in the replication group have not been updated by the recommended apply-by date. If N/A, the replication group was created after the recommended apply-by date.

      Parameters:
      slaMet - If yes, all nodes in the replication group have been updated by the recommended apply-by date. If no, at least one node in the replication group have not been updated by the recommended apply-by date. If N/A, the replication group was created after the recommended apply-by date.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • slaMet

      UpdateAction.Builder slaMet(SlaMet slaMet)

      If yes, all nodes in the replication group have been updated by the recommended apply-by date. If no, at least one node in the replication group have not been updated by the recommended apply-by date. If N/A, the replication group was created after the recommended apply-by date.

      Parameters:
      slaMet - If yes, all nodes in the replication group have been updated by the recommended apply-by date. If no, at least one node in the replication group have not been updated by the recommended apply-by date. If N/A, the replication group was created after the recommended apply-by date.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nodeGroupUpdateStatus

      UpdateAction.Builder nodeGroupUpdateStatus(Collection<NodeGroupUpdateStatus> nodeGroupUpdateStatus)

      The status of the service update on the node group

      Parameters:
      nodeGroupUpdateStatus - The status of the service update on the node group
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeGroupUpdateStatus

      UpdateAction.Builder nodeGroupUpdateStatus(NodeGroupUpdateStatus... nodeGroupUpdateStatus)

      The status of the service update on the node group

      Parameters:
      nodeGroupUpdateStatus - The status of the service update on the node group
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeGroupUpdateStatus

      UpdateAction.Builder nodeGroupUpdateStatus(Consumer<NodeGroupUpdateStatus.Builder>... nodeGroupUpdateStatus)

      The status of the service update on the node group

      This is a convenience method that creates an instance of the NodeGroupUpdateStatus.Builder avoiding the need to create one manually via NodeGroupUpdateStatus.builder().

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

      Parameters:
      nodeGroupUpdateStatus - a consumer that will call methods on NodeGroupUpdateStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cacheNodeUpdateStatus

      UpdateAction.Builder cacheNodeUpdateStatus(Collection<CacheNodeUpdateStatus> cacheNodeUpdateStatus)

      The status of the service update on the cache node

      Parameters:
      cacheNodeUpdateStatus - The status of the service update on the cache node
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheNodeUpdateStatus

      UpdateAction.Builder cacheNodeUpdateStatus(CacheNodeUpdateStatus... cacheNodeUpdateStatus)

      The status of the service update on the cache node

      Parameters:
      cacheNodeUpdateStatus - The status of the service update on the cache node
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheNodeUpdateStatus

      UpdateAction.Builder cacheNodeUpdateStatus(Consumer<CacheNodeUpdateStatus.Builder>... cacheNodeUpdateStatus)

      The status of the service update on the cache node

      This is a convenience method that creates an instance of the CacheNodeUpdateStatus.Builder avoiding the need to create one manually via CacheNodeUpdateStatus.builder().

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

      Parameters:
      cacheNodeUpdateStatus - a consumer that will call methods on CacheNodeUpdateStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • estimatedUpdateTime

      UpdateAction.Builder estimatedUpdateTime(String estimatedUpdateTime)

      The estimated length of time for the update to complete

      Parameters:
      estimatedUpdateTime - The estimated length of time for the update to complete
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engine

      UpdateAction.Builder engine(String engine)

      The Elasticache engine to which the update applies. Either Redis OSS or Memcached.

      Parameters:
      engine - The Elasticache engine to which the update applies. Either Redis OSS or Memcached.
      Returns:
      Returns a reference to this object so that method calls can be chained together.