Struct aws_sdk_elasticache::model::update_action::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateAction
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn replication_group_id(self, input: impl Into<String>) -> Self
pub fn replication_group_id(self, input: impl Into<String>) -> Self
The ID of the replication group
sourcepub fn set_replication_group_id(self, input: Option<String>) -> Self
pub fn set_replication_group_id(self, input: Option<String>) -> Self
The ID of the replication group
sourcepub fn cache_cluster_id(self, input: impl Into<String>) -> Self
pub fn cache_cluster_id(self, input: impl Into<String>) -> Self
The ID of the cache cluster
sourcepub fn set_cache_cluster_id(self, input: Option<String>) -> Self
pub fn set_cache_cluster_id(self, input: Option<String>) -> Self
The ID of the cache cluster
sourcepub fn service_update_name(self, input: impl Into<String>) -> Self
pub fn service_update_name(self, input: impl Into<String>) -> Self
The unique ID of the service update
sourcepub fn set_service_update_name(self, input: Option<String>) -> Self
pub fn set_service_update_name(self, input: Option<String>) -> Self
The unique ID of the service update
sourcepub fn service_update_release_date(self, input: DateTime) -> Self
pub fn service_update_release_date(self, input: DateTime) -> Self
The date the update is first available
sourcepub fn set_service_update_release_date(self, input: Option<DateTime>) -> Self
pub fn set_service_update_release_date(self, input: Option<DateTime>) -> Self
The date the update is first available
sourcepub fn service_update_severity(self, input: ServiceUpdateSeverity) -> Self
pub fn service_update_severity(self, input: ServiceUpdateSeverity) -> Self
The severity of the service update
sourcepub fn set_service_update_severity(
self,
input: Option<ServiceUpdateSeverity>
) -> Self
pub fn set_service_update_severity(
self,
input: Option<ServiceUpdateSeverity>
) -> Self
The severity of the service update
sourcepub fn service_update_status(self, input: ServiceUpdateStatus) -> Self
pub fn service_update_status(self, input: ServiceUpdateStatus) -> Self
The status of the service update
sourcepub fn set_service_update_status(
self,
input: Option<ServiceUpdateStatus>
) -> Self
pub fn set_service_update_status(
self,
input: Option<ServiceUpdateStatus>
) -> Self
The status of the service update
sourcepub fn service_update_recommended_apply_by_date(self, input: DateTime) -> Self
pub fn service_update_recommended_apply_by_date(self, input: DateTime) -> Self
The recommended date to apply the service update to ensure compliance. For information on compliance, see Self-Service Security Updates for Compliance.
sourcepub fn set_service_update_recommended_apply_by_date(
self,
input: Option<DateTime>
) -> Self
pub fn set_service_update_recommended_apply_by_date(
self,
input: Option<DateTime>
) -> Self
The recommended date to apply the service update to ensure compliance. For information on compliance, see Self-Service Security Updates for Compliance.
sourcepub fn service_update_type(self, input: ServiceUpdateType) -> Self
pub fn service_update_type(self, input: ServiceUpdateType) -> Self
Reflects the nature of the service update
sourcepub fn set_service_update_type(self, input: Option<ServiceUpdateType>) -> Self
pub fn set_service_update_type(self, input: Option<ServiceUpdateType>) -> Self
Reflects the nature of the service update
sourcepub fn update_action_available_date(self, input: DateTime) -> Self
pub fn update_action_available_date(self, input: DateTime) -> Self
The date that the service update is available to a replication group
sourcepub fn set_update_action_available_date(self, input: Option<DateTime>) -> Self
pub fn set_update_action_available_date(self, input: Option<DateTime>) -> Self
The date that the service update is available to a replication group
sourcepub fn update_action_status(self, input: UpdateActionStatus) -> Self
pub fn update_action_status(self, input: UpdateActionStatus) -> Self
The status of the update action
sourcepub fn set_update_action_status(self, input: Option<UpdateActionStatus>) -> Self
pub fn set_update_action_status(self, input: Option<UpdateActionStatus>) -> Self
The status of the update action
sourcepub fn nodes_updated(self, input: impl Into<String>) -> Self
pub fn nodes_updated(self, input: impl Into<String>) -> Self
The progress of the service update on the replication group
sourcepub fn set_nodes_updated(self, input: Option<String>) -> Self
pub fn set_nodes_updated(self, input: Option<String>) -> Self
The progress of the service update on the replication group
sourcepub fn update_action_status_modified_date(self, input: DateTime) -> Self
pub fn update_action_status_modified_date(self, input: DateTime) -> Self
The date when the UpdateActionStatus was last modified
sourcepub fn set_update_action_status_modified_date(
self,
input: Option<DateTime>
) -> Self
pub fn set_update_action_status_modified_date(
self,
input: Option<DateTime>
) -> Self
The date when the UpdateActionStatus was last modified
sourcepub fn sla_met(self, input: SlaMet) -> Self
pub fn sla_met(self, input: SlaMet) -> Self
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.
sourcepub fn set_sla_met(self, input: Option<SlaMet>) -> Self
pub fn set_sla_met(self, input: Option<SlaMet>) -> Self
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.
sourcepub fn node_group_update_status(self, input: NodeGroupUpdateStatus) -> Self
pub fn node_group_update_status(self, input: NodeGroupUpdateStatus) -> Self
Appends an item to node_group_update_status
.
To override the contents of this collection use set_node_group_update_status
.
The status of the service update on the node group
sourcepub fn set_node_group_update_status(
self,
input: Option<Vec<NodeGroupUpdateStatus>>
) -> Self
pub fn set_node_group_update_status(
self,
input: Option<Vec<NodeGroupUpdateStatus>>
) -> Self
The status of the service update on the node group
sourcepub fn cache_node_update_status(self, input: CacheNodeUpdateStatus) -> Self
pub fn cache_node_update_status(self, input: CacheNodeUpdateStatus) -> Self
Appends an item to cache_node_update_status
.
To override the contents of this collection use set_cache_node_update_status
.
The status of the service update on the cache node
sourcepub fn set_cache_node_update_status(
self,
input: Option<Vec<CacheNodeUpdateStatus>>
) -> Self
pub fn set_cache_node_update_status(
self,
input: Option<Vec<CacheNodeUpdateStatus>>
) -> Self
The status of the service update on the cache node
sourcepub fn estimated_update_time(self, input: impl Into<String>) -> Self
pub fn estimated_update_time(self, input: impl Into<String>) -> Self
The estimated length of time for the update to complete
sourcepub fn set_estimated_update_time(self, input: Option<String>) -> Self
pub fn set_estimated_update_time(self, input: Option<String>) -> Self
The estimated length of time for the update to complete
sourcepub fn engine(self, input: impl Into<String>) -> Self
pub fn engine(self, input: impl Into<String>) -> Self
The Elasticache engine to which the update applies. Either Redis or Memcached
sourcepub fn set_engine(self, input: Option<String>) -> Self
pub fn set_engine(self, input: Option<String>) -> Self
The Elasticache engine to which the update applies. Either Redis or Memcached
sourcepub fn build(self) -> UpdateAction
pub fn build(self) -> UpdateAction
Consumes the builder and constructs a UpdateAction
.