Struct aws_sdk_emr::operation::get_managed_scaling_policy::builders::GetManagedScalingPolicyInputBuilder
source · #[non_exhaustive]pub struct GetManagedScalingPolicyInputBuilder { /* private fields */ }
Expand description
A builder for GetManagedScalingPolicyInput
.
Implementations§
source§impl GetManagedScalingPolicyInputBuilder
impl GetManagedScalingPolicyInputBuilder
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 cluster for which the managed scaling policy will be fetched.
This field is required.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 cluster for which the managed scaling policy will be fetched.
sourcepub fn get_cluster_id(&self) -> &Option<String>
pub fn get_cluster_id(&self) -> &Option<String>
Specifies the ID of the cluster for which the managed scaling policy will be fetched.
sourcepub fn build(self) -> Result<GetManagedScalingPolicyInput, BuildError>
pub fn build(self) -> Result<GetManagedScalingPolicyInput, BuildError>
Consumes the builder and constructs a GetManagedScalingPolicyInput
.
source§impl GetManagedScalingPolicyInputBuilder
impl GetManagedScalingPolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetManagedScalingPolicyOutput, SdkError<GetManagedScalingPolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetManagedScalingPolicyOutput, SdkError<GetManagedScalingPolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetManagedScalingPolicyInputBuilder
impl Clone for GetManagedScalingPolicyInputBuilder
source§fn clone(&self) -> GetManagedScalingPolicyInputBuilder
fn clone(&self) -> GetManagedScalingPolicyInputBuilder
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 GetManagedScalingPolicyInputBuilder
impl Default for GetManagedScalingPolicyInputBuilder
source§fn default() -> GetManagedScalingPolicyInputBuilder
fn default() -> GetManagedScalingPolicyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetManagedScalingPolicyInputBuilder
impl PartialEq for GetManagedScalingPolicyInputBuilder
source§fn eq(&self, other: &GetManagedScalingPolicyInputBuilder) -> bool
fn eq(&self, other: &GetManagedScalingPolicyInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetManagedScalingPolicyInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetManagedScalingPolicyInputBuilder
impl Send for GetManagedScalingPolicyInputBuilder
impl Sync for GetManagedScalingPolicyInputBuilder
impl Unpin for GetManagedScalingPolicyInputBuilder
impl UnwindSafe for GetManagedScalingPolicyInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.