Struct aws_sdk_elasticache::model::parameter::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Parameter
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn parameter_name(self, input: impl Into<String>) -> Self
pub fn parameter_name(self, input: impl Into<String>) -> Self
The name of the parameter.
sourcepub fn set_parameter_name(self, input: Option<String>) -> Self
pub fn set_parameter_name(self, input: Option<String>) -> Self
The name of the parameter.
sourcepub fn parameter_value(self, input: impl Into<String>) -> Self
pub fn parameter_value(self, input: impl Into<String>) -> Self
The value of the parameter.
sourcepub fn set_parameter_value(self, input: Option<String>) -> Self
pub fn set_parameter_value(self, input: Option<String>) -> Self
The value of the parameter.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the parameter.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the parameter.
sourcepub fn set_source(self, input: Option<String>) -> Self
pub fn set_source(self, input: Option<String>) -> Self
The source of the parameter.
sourcepub fn data_type(self, input: impl Into<String>) -> Self
pub fn data_type(self, input: impl Into<String>) -> Self
The valid data type for the parameter.
sourcepub fn set_data_type(self, input: Option<String>) -> Self
pub fn set_data_type(self, input: Option<String>) -> Self
The valid data type for the parameter.
sourcepub fn allowed_values(self, input: impl Into<String>) -> Self
pub fn allowed_values(self, input: impl Into<String>) -> Self
The valid range of values for the parameter.
sourcepub fn set_allowed_values(self, input: Option<String>) -> Self
pub fn set_allowed_values(self, input: Option<String>) -> Self
The valid range of values for the parameter.
sourcepub fn is_modifiable(self, input: bool) -> Self
pub fn is_modifiable(self, input: bool) -> Self
Indicates whether (true
) or not (false
) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.
sourcepub fn set_is_modifiable(self, input: Option<bool>) -> Self
pub fn set_is_modifiable(self, input: Option<bool>) -> Self
Indicates whether (true
) or not (false
) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.
sourcepub fn minimum_engine_version(self, input: impl Into<String>) -> Self
pub fn minimum_engine_version(self, input: impl Into<String>) -> Self
The earliest cache engine version to which the parameter can apply.
sourcepub fn set_minimum_engine_version(self, input: Option<String>) -> Self
pub fn set_minimum_engine_version(self, input: Option<String>) -> Self
The earliest cache engine version to which the parameter can apply.
sourcepub fn change_type(self, input: ChangeType) -> Self
pub fn change_type(self, input: ChangeType) -> Self
Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to be applied. You can force a reboot or wait until the next maintenance window's reboot. For more information, see Rebooting a Cluster.
sourcepub fn set_change_type(self, input: Option<ChangeType>) -> Self
pub fn set_change_type(self, input: Option<ChangeType>) -> Self
Indicates whether a change to the parameter is applied immediately or requires a reboot for the change to be applied. You can force a reboot or wait until the next maintenance window's reboot. For more information, see Rebooting a Cluster.