Struct aws_sdk_emr::operation::get_auto_termination_policy::builders::GetAutoTerminationPolicyInputBuilder
source · #[non_exhaustive]pub struct GetAutoTerminationPolicyInputBuilder { /* private fields */ }Expand description
A builder for GetAutoTerminationPolicyInput.
Implementations§
source§impl GetAutoTerminationPolicyInputBuilder
impl GetAutoTerminationPolicyInputBuilder
sourcepub fn cluster_id(self, input: impl Into<String>) -> Self
pub fn cluster_id(self, input: impl Into<String>) -> Self
Specifies the ID of the Amazon EMR cluster for which the auto-termination policy will be fetched.
sourcepub fn set_cluster_id(self, input: Option<String>) -> Self
pub fn set_cluster_id(self, input: Option<String>) -> Self
Specifies the ID of the Amazon EMR cluster for which the auto-termination policy will be fetched.
sourcepub fn build(self) -> Result<GetAutoTerminationPolicyInput, BuildError>
pub fn build(self) -> Result<GetAutoTerminationPolicyInput, BuildError>
Consumes the builder and constructs a GetAutoTerminationPolicyInput.
Trait Implementations§
source§impl Clone for GetAutoTerminationPolicyInputBuilder
impl Clone for GetAutoTerminationPolicyInputBuilder
source§fn clone(&self) -> GetAutoTerminationPolicyInputBuilder
fn clone(&self) -> GetAutoTerminationPolicyInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for GetAutoTerminationPolicyInputBuilder
impl Default for GetAutoTerminationPolicyInputBuilder
source§fn default() -> GetAutoTerminationPolicyInputBuilder
fn default() -> GetAutoTerminationPolicyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetAutoTerminationPolicyInputBuilder> for GetAutoTerminationPolicyInputBuilder
impl PartialEq<GetAutoTerminationPolicyInputBuilder> for GetAutoTerminationPolicyInputBuilder
source§fn eq(&self, other: &GetAutoTerminationPolicyInputBuilder) -> bool
fn eq(&self, other: &GetAutoTerminationPolicyInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.