pub struct PlacementGroupArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> PlacementGroupArgsBuilder<S>
impl<S: State> PlacementGroupArgsBuilder<S>
sourcepub fn build_struct(self) -> PlacementGroupArgswhere
S: IsComplete,
pub fn build_struct(self) -> PlacementGroupArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> PlacementGroupArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> PlacementGroupArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> PlacementGroupArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> PlacementGroupArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn partition_count(
self,
value: impl Into<Output<Option<i32>>>,
) -> PlacementGroupArgsBuilder<SetPartitionCount<S>>where
S::PartitionCount: IsUnset,
pub fn partition_count(
self,
value: impl Into<Output<Option<i32>>>,
) -> PlacementGroupArgsBuilder<SetPartitionCount<S>>where
S::PartitionCount: IsUnset,
sourcepub fn maybe_partition_count(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> PlacementGroupArgsBuilder<SetPartitionCount<S>>where
S::PartitionCount: IsUnset,
pub fn maybe_partition_count(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> PlacementGroupArgsBuilder<SetPartitionCount<S>>where
S::PartitionCount: IsUnset,
sourcepub fn spread_level(
self,
value: impl Into<Output<Option<String>>>,
) -> PlacementGroupArgsBuilder<SetSpreadLevel<S>>where
S::SpreadLevel: IsUnset,
pub fn spread_level(
self,
value: impl Into<Output<Option<String>>>,
) -> PlacementGroupArgsBuilder<SetSpreadLevel<S>>where
S::SpreadLevel: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Determines how placement groups spread instances. Can only be used
when the strategy
is set to spread
. Can be host
or rack
. host
can only be used for Outpost placement groups. Defaults to rack
.
sourcepub fn maybe_spread_level(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> PlacementGroupArgsBuilder<SetSpreadLevel<S>>where
S::SpreadLevel: IsUnset,
pub fn maybe_spread_level(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> PlacementGroupArgsBuilder<SetSpreadLevel<S>>where
S::SpreadLevel: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Determines how placement groups spread instances. Can only be used
when the strategy
is set to spread
. Can be host
or rack
. host
can only be used for Outpost placement groups. Defaults to rack
.
sourcepub fn strategy(
self,
value: impl Into<Output<String>>,
) -> PlacementGroupArgsBuilder<SetStrategy<S>>where
S::Strategy: IsUnset,
pub fn strategy(
self,
value: impl Into<Output<String>>,
) -> PlacementGroupArgsBuilder<SetStrategy<S>>where
S::Strategy: IsUnset,
Required.
The placement strategy. Can be cluster
, partition
or spread
.
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
Key-value map of resource tags. .If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
Key-value map of resource tags. .If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.