pub struct FirewallPolicyWithRulesArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> FirewallPolicyWithRulesArgsBuilder<S>
impl<S: State> FirewallPolicyWithRulesArgsBuilder<S>
sourcepub fn build_struct(self) -> FirewallPolicyWithRulesArgswhere
S: IsComplete,
pub fn build_struct(self) -> FirewallPolicyWithRulesArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> FirewallPolicyWithRulesArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> FirewallPolicyWithRulesArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FirewallPolicyWithRulesArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FirewallPolicyWithRulesArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn parent(
self,
value: impl Into<Output<String>>,
) -> FirewallPolicyWithRulesArgsBuilder<SetParent<S>>where
S::Parent: IsUnset,
pub fn parent(
self,
value: impl Into<Output<String>>,
) -> FirewallPolicyWithRulesArgsBuilder<SetParent<S>>where
S::Parent: IsUnset,
Required.
The parent of this FirewallPolicy in the Cloud Resource Hierarchy. Format: organizations/{organization_id} or folders/{folder_id}
sourcepub fn rules(
self,
value: impl Into<Output<Vec<FirewallPolicyWithRulesRule>>>,
) -> FirewallPolicyWithRulesArgsBuilder<SetRules<S>>where
S::Rules: IsUnset,
pub fn rules(
self,
value: impl Into<Output<Vec<FirewallPolicyWithRulesRule>>>,
) -> FirewallPolicyWithRulesArgsBuilder<SetRules<S>>where
S::Rules: IsUnset,
Required.
A list of firewall policy rules. Structure is documented below.
sourcepub fn short_name(
self,
value: impl Into<Output<String>>,
) -> FirewallPolicyWithRulesArgsBuilder<SetShortName<S>>where
S::ShortName: IsUnset,
pub fn short_name(
self,
value: impl Into<Output<String>>,
) -> FirewallPolicyWithRulesArgsBuilder<SetShortName<S>>where
S::ShortName: IsUnset,
Required.
A textual name of the security policy.
Auto Trait Implementations§
impl<S> Freeze for FirewallPolicyWithRulesArgsBuilder<S>
impl<S> RefUnwindSafe for FirewallPolicyWithRulesArgsBuilder<S>
impl<S> Send for FirewallPolicyWithRulesArgsBuilder<S>
impl<S> Sync for FirewallPolicyWithRulesArgsBuilder<S>
impl<S> Unpin for FirewallPolicyWithRulesArgsBuilder<S>
impl<S> UnwindSafe for FirewallPolicyWithRulesArgsBuilder<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