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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateAction.Builder
cacheClusterId(String cacheClusterId)
The ID of the cache clusterUpdateAction.Builder
cacheNodeUpdateStatus(Collection<CacheNodeUpdateStatus> cacheNodeUpdateStatus)
The status of the service update on the cache nodeUpdateAction.Builder
cacheNodeUpdateStatus(Consumer<CacheNodeUpdateStatus.Builder>... cacheNodeUpdateStatus)
The status of the service update on the cache nodeUpdateAction.Builder
cacheNodeUpdateStatus(CacheNodeUpdateStatus... cacheNodeUpdateStatus)
The status of the service update on the cache nodeUpdateAction.Builder
engine(String engine)
The Elasticache engine to which the update applies.UpdateAction.Builder
estimatedUpdateTime(String estimatedUpdateTime)
The estimated length of time for the update to completeUpdateAction.Builder
nodeGroupUpdateStatus(Collection<NodeGroupUpdateStatus> nodeGroupUpdateStatus)
The status of the service update on the node groupUpdateAction.Builder
nodeGroupUpdateStatus(Consumer<NodeGroupUpdateStatus.Builder>... nodeGroupUpdateStatus)
The status of the service update on the node groupUpdateAction.Builder
nodeGroupUpdateStatus(NodeGroupUpdateStatus... nodeGroupUpdateStatus)
The status of the service update on the node groupUpdateAction.Builder
nodesUpdated(String nodesUpdated)
The progress of the service update on the replication groupUpdateAction.Builder
replicationGroupId(String replicationGroupId)
The ID of the replication groupUpdateAction.Builder
serviceUpdateName(String serviceUpdateName)
The unique ID of the service updateUpdateAction.Builder
serviceUpdateRecommendedApplyByDate(Instant serviceUpdateRecommendedApplyByDate)
The recommended date to apply the service update to ensure compliance.UpdateAction.Builder
serviceUpdateReleaseDate(Instant serviceUpdateReleaseDate)
The date the update is first availableUpdateAction.Builder
serviceUpdateSeverity(String serviceUpdateSeverity)
The severity of the service updateUpdateAction.Builder
serviceUpdateSeverity(ServiceUpdateSeverity serviceUpdateSeverity)
The severity of the service updateUpdateAction.Builder
serviceUpdateStatus(String serviceUpdateStatus)
The status of the service updateUpdateAction.Builder
serviceUpdateStatus(ServiceUpdateStatus serviceUpdateStatus)
The status of the service updateUpdateAction.Builder
serviceUpdateType(String serviceUpdateType)
Reflects the nature of the service updateUpdateAction.Builder
serviceUpdateType(ServiceUpdateType serviceUpdateType)
Reflects the nature of the service updateUpdateAction.Builder
slaMet(String slaMet)
If yes, all nodes in the replication group have been updated by the recommended apply-by date.UpdateAction.Builder
slaMet(SlaMet slaMet)
If yes, all nodes in the replication group have been updated by the recommended apply-by date.UpdateAction.Builder
updateActionAvailableDate(Instant updateActionAvailableDate)
The date that the service update is available to a replication groupUpdateAction.Builder
updateActionStatus(String updateActionStatus)
The status of the update actionUpdateAction.Builder
updateActionStatus(UpdateActionStatus updateActionStatus)
The status of the update actionUpdateAction.Builder
updateActionStatusModifiedDate(Instant updateActionStatusModifiedDate)
The date when the UpdateActionStatus was last modified-
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 Detail
-
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
,ServiceUpdateSeverity
-
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:
ServiceUpdateSeverity
,ServiceUpdateSeverity
-
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
,ServiceUpdateStatus
-
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:
ServiceUpdateStatus
,ServiceUpdateStatus
-
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
,ServiceUpdateType
-
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:
ServiceUpdateType
,ServiceUpdateType
-
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
,UpdateActionStatus
-
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:
UpdateActionStatus
,UpdateActionStatus
-
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
,SlaMet
-
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:
SlaMet
,SlaMet
-
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 theNodeGroupUpdateStatus.Builder
avoiding the need to create one manually viaNodeGroupUpdateStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#nodeGroupUpdateStatus(List
.) - Parameters:
nodeGroupUpdateStatus
- a consumer that will call methods onNodeGroupUpdateStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#nodeGroupUpdateStatus(java.util.Collection
)
-
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 theCacheNodeUpdateStatus.Builder
avoiding the need to create one manually viaCacheNodeUpdateStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#cacheNodeUpdateStatus(List
.) - Parameters:
cacheNodeUpdateStatus
- a consumer that will call methods onCacheNodeUpdateStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#cacheNodeUpdateStatus(java.util.Collection
)
-
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 or Memcached
- Parameters:
engine
- The Elasticache engine to which the update applies. Either Redis or Memcached- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-