pub struct FirewallPolicyArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> FirewallPolicyArgsBuilder<S>
impl<S: State> FirewallPolicyArgsBuilder<S>
sourcepub fn build_struct(self) -> FirewallPolicyArgswhere
S: IsComplete,
pub fn build_struct(self) -> FirewallPolicyArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> FirewallPolicyArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> FirewallPolicyArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FirewallPolicyArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FirewallPolicyArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn parent(
self,
value: impl Into<Output<String>>,
) -> FirewallPolicyArgsBuilder<SetParent<S>>where
S::Parent: IsUnset,
pub fn parent(
self,
value: impl Into<Output<String>>,
) -> FirewallPolicyArgsBuilder<SetParent<S>>where
S::Parent: IsUnset,
Required.
The parent of the firewall policy.
sourcepub fn short_name(
self,
value: impl Into<Output<String>>,
) -> FirewallPolicyArgsBuilder<SetShortName<S>>where
S::ShortName: IsUnset,
pub fn short_name(
self,
value: impl Into<Output<String>>,
) -> FirewallPolicyArgsBuilder<SetShortName<S>>where
S::ShortName: IsUnset,
Required.
User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Auto Trait Implementations§
impl<S> Freeze for FirewallPolicyArgsBuilder<S>
impl<S> RefUnwindSafe for FirewallPolicyArgsBuilder<S>
impl<S> Send for FirewallPolicyArgsBuilder<S>
impl<S> Sync for FirewallPolicyArgsBuilder<S>
impl<S> Unpin for FirewallPolicyArgsBuilder<S>
impl<S> UnwindSafe for FirewallPolicyArgsBuilder<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