Struct aws_sdk_devopsguru::operation::start_cost_estimation::builders::StartCostEstimationInputBuilder
source · #[non_exhaustive]pub struct StartCostEstimationInputBuilder { /* private fields */ }
Expand description
A builder for StartCostEstimationInput
.
Implementations§
source§impl StartCostEstimationInputBuilder
impl StartCostEstimationInputBuilder
sourcepub fn resource_collection(
self,
input: CostEstimationResourceCollectionFilter
) -> Self
pub fn resource_collection( self, input: CostEstimationResourceCollectionFilter ) -> Self
The collection of Amazon Web Services resources used to create a monthly DevOps Guru cost estimate.
This field is required.sourcepub fn set_resource_collection(
self,
input: Option<CostEstimationResourceCollectionFilter>
) -> Self
pub fn set_resource_collection( self, input: Option<CostEstimationResourceCollectionFilter> ) -> Self
The collection of Amazon Web Services resources used to create a monthly DevOps Guru cost estimate.
sourcepub fn get_resource_collection(
&self
) -> &Option<CostEstimationResourceCollectionFilter>
pub fn get_resource_collection( &self ) -> &Option<CostEstimationResourceCollectionFilter>
The collection of Amazon Web Services resources used to create a monthly DevOps Guru cost estimate.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The idempotency token used to identify each cost estimate request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The idempotency token used to identify each cost estimate request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The idempotency token used to identify each cost estimate request.
sourcepub fn build(self) -> Result<StartCostEstimationInput, BuildError>
pub fn build(self) -> Result<StartCostEstimationInput, BuildError>
Consumes the builder and constructs a StartCostEstimationInput
.
source§impl StartCostEstimationInputBuilder
impl StartCostEstimationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartCostEstimationOutput, SdkError<StartCostEstimationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartCostEstimationOutput, SdkError<StartCostEstimationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartCostEstimationInputBuilder
impl Clone for StartCostEstimationInputBuilder
source§fn clone(&self) -> StartCostEstimationInputBuilder
fn clone(&self) -> StartCostEstimationInputBuilder
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 StartCostEstimationInputBuilder
impl Default for StartCostEstimationInputBuilder
source§fn default() -> StartCostEstimationInputBuilder
fn default() -> StartCostEstimationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StartCostEstimationInputBuilder
impl PartialEq for StartCostEstimationInputBuilder
source§fn eq(&self, other: &StartCostEstimationInputBuilder) -> bool
fn eq(&self, other: &StartCostEstimationInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartCostEstimationInputBuilder
Auto Trait Implementations§
impl Freeze for StartCostEstimationInputBuilder
impl RefUnwindSafe for StartCostEstimationInputBuilder
impl Send for StartCostEstimationInputBuilder
impl Sync for StartCostEstimationInputBuilder
impl Unpin for StartCostEstimationInputBuilder
impl UnwindSafe for StartCostEstimationInputBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.