pub struct DedicatedHostGroupArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> DedicatedHostGroupArgsBuilder<S>
impl<S: State> DedicatedHostGroupArgsBuilder<S>
sourcepub fn build_struct(self) -> DedicatedHostGroupArgswhere
S: IsComplete,
pub fn build_struct(self) -> DedicatedHostGroupArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn automatic_placement_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> DedicatedHostGroupArgsBuilder<SetAutomaticPlacementEnabled<S>>where
S::AutomaticPlacementEnabled: IsUnset,
pub fn automatic_placement_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> DedicatedHostGroupArgsBuilder<SetAutomaticPlacementEnabled<S>>where
S::AutomaticPlacementEnabled: IsUnset,
sourcepub fn maybe_automatic_placement_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> DedicatedHostGroupArgsBuilder<SetAutomaticPlacementEnabled<S>>where
S::AutomaticPlacementEnabled: IsUnset,
pub fn maybe_automatic_placement_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> DedicatedHostGroupArgsBuilder<SetAutomaticPlacementEnabled<S>>where
S::AutomaticPlacementEnabled: IsUnset,
sourcepub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> DedicatedHostGroupArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> DedicatedHostGroupArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
sourcepub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> DedicatedHostGroupArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> DedicatedHostGroupArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> DedicatedHostGroupArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> DedicatedHostGroupArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> DedicatedHostGroupArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> DedicatedHostGroupArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn platform_fault_domain_count(
self,
value: impl Into<Output<i32>>,
) -> DedicatedHostGroupArgsBuilder<SetPlatformFaultDomainCount<S>>where
S::PlatformFaultDomainCount: IsUnset,
pub fn platform_fault_domain_count(
self,
value: impl Into<Output<i32>>,
) -> DedicatedHostGroupArgsBuilder<SetPlatformFaultDomainCount<S>>where
S::PlatformFaultDomainCount: IsUnset,
Required.
The number of fault domains that the Dedicated Host Group spans. Changing this forces a new resource to be created.
sourcepub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> DedicatedHostGroupArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
pub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> DedicatedHostGroupArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
Required.
Specifies the name of the resource group the Dedicated Host Group is located in. Changing this forces a new resource to be created.
sourcepub fn zone(
self,
value: impl Into<Output<Option<String>>>,
) -> DedicatedHostGroupArgsBuilder<SetZone<S>>where
S::Zone: IsUnset,
pub fn zone(
self,
value: impl Into<Output<Option<String>>>,
) -> DedicatedHostGroupArgsBuilder<SetZone<S>>where
S::Zone: IsUnset,
sourcepub fn maybe_zone(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> DedicatedHostGroupArgsBuilder<SetZone<S>>where
S::Zone: IsUnset,
pub fn maybe_zone(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> DedicatedHostGroupArgsBuilder<SetZone<S>>where
S::Zone: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for DedicatedHostGroupArgsBuilder<S>
impl<S> RefUnwindSafe for DedicatedHostGroupArgsBuilder<S>
impl<S> Send for DedicatedHostGroupArgsBuilder<S>
impl<S> Sync for DedicatedHostGroupArgsBuilder<S>
impl<S> Unpin for DedicatedHostGroupArgsBuilder<S>
impl<S> UnwindSafe for DedicatedHostGroupArgsBuilder<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