pub struct GetSpotPriceArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> GetSpotPriceArgsBuilder<S>
impl<S: State> GetSpotPriceArgsBuilder<S>
sourcepub fn build_struct(self) -> GetSpotPriceArgswhere
S: IsComplete,
pub fn build_struct(self) -> GetSpotPriceArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn availability_zone(
self,
value: impl Into<Output<Option<String>>>,
) -> GetSpotPriceArgsBuilder<SetAvailabilityZone<S>>where
S::AvailabilityZone: IsUnset,
pub fn availability_zone(
self,
value: impl Into<Output<Option<String>>>,
) -> GetSpotPriceArgsBuilder<SetAvailabilityZone<S>>where
S::AvailabilityZone: IsUnset,
sourcepub fn maybe_availability_zone(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetSpotPriceArgsBuilder<SetAvailabilityZone<S>>where
S::AvailabilityZone: IsUnset,
pub fn maybe_availability_zone(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetSpotPriceArgsBuilder<SetAvailabilityZone<S>>where
S::AvailabilityZone: IsUnset,
sourcepub fn filters(
self,
value: impl Into<Output<Option<Vec<GetSpotPriceFilter>>>>,
) -> GetSpotPriceArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
pub fn filters(
self,
value: impl Into<Output<Option<Vec<GetSpotPriceFilter>>>>,
) -> GetSpotPriceArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
Optional (Some / Option setters). Default:
ⓘ
<pulumi_wasm_rust::Output<
Option<Vec<super::super::super::types::ec2::GetSpotPriceFilter>>,
> as Default>::default()
One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
sourcepub fn maybe_filters(
self,
value: Option<impl Into<Output<Option<Vec<GetSpotPriceFilter>>>>>,
) -> GetSpotPriceArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
pub fn maybe_filters(
self,
value: Option<impl Into<Output<Option<Vec<GetSpotPriceFilter>>>>>,
) -> GetSpotPriceArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
Optional (Some / Option setters). Default:
ⓘ
<pulumi_wasm_rust::Output<
Option<Vec<super::super::super::types::ec2::GetSpotPriceFilter>>,
> as Default>::default()
One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
sourcepub fn instance_type(
self,
value: impl Into<Output<Option<String>>>,
) -> GetSpotPriceArgsBuilder<SetInstanceType<S>>where
S::InstanceType: IsUnset,
pub fn instance_type(
self,
value: impl Into<Output<Option<String>>>,
) -> GetSpotPriceArgsBuilder<SetInstanceType<S>>where
S::InstanceType: IsUnset,
sourcepub fn maybe_instance_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetSpotPriceArgsBuilder<SetInstanceType<S>>where
S::InstanceType: IsUnset,
pub fn maybe_instance_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetSpotPriceArgsBuilder<SetInstanceType<S>>where
S::InstanceType: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for GetSpotPriceArgsBuilder<S>
impl<S> RefUnwindSafe for GetSpotPriceArgsBuilder<S>
impl<S> Send for GetSpotPriceArgsBuilder<S>
impl<S> Sync for GetSpotPriceArgsBuilder<S>
impl<S> Unpin for GetSpotPriceArgsBuilder<S>
impl<S> UnwindSafe for GetSpotPriceArgsBuilder<S>
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