pub struct PacketMirroringArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> PacketMirroringArgsBuilder<S>
impl<S: State> PacketMirroringArgsBuilder<S>
sourcepub fn build_struct(self) -> PacketMirroringArgswhere
S: IsComplete,
pub fn build_struct(self) -> PacketMirroringArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn collector_ilb(
self,
value: impl Into<Output<PacketMirroringCollectorIlb>>,
) -> PacketMirroringArgsBuilder<SetCollectorIlb<S>>where
S::CollectorIlb: IsUnset,
pub fn collector_ilb(
self,
value: impl Into<Output<PacketMirroringCollectorIlb>>,
) -> PacketMirroringArgsBuilder<SetCollectorIlb<S>>where
S::CollectorIlb: IsUnset,
Required.
The Forwarding Rule resource (of type load_balancing_scheme=INTERNAL) that will be used as collector for mirrored traffic. The specified forwarding rule must have is_mirroring_collector set to true. Structure is documented below.
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> PacketMirroringArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> PacketMirroringArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> PacketMirroringArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> PacketMirroringArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn filter(
self,
value: impl Into<Output<Option<PacketMirroringFilter>>>,
) -> PacketMirroringArgsBuilder<SetFilter<S>>where
S::Filter: IsUnset,
pub fn filter(
self,
value: impl Into<Output<Option<PacketMirroringFilter>>>,
) -> PacketMirroringArgsBuilder<SetFilter<S>>where
S::Filter: IsUnset,
sourcepub fn maybe_filter(
self,
value: Option<impl Into<Output<Option<PacketMirroringFilter>>>>,
) -> PacketMirroringArgsBuilder<SetFilter<S>>where
S::Filter: IsUnset,
pub fn maybe_filter(
self,
value: Option<impl Into<Output<Option<PacketMirroringFilter>>>>,
) -> PacketMirroringArgsBuilder<SetFilter<S>>where
S::Filter: IsUnset,
sourcepub fn mirrored_resources(
self,
value: impl Into<Output<PacketMirroringMirroredResources>>,
) -> PacketMirroringArgsBuilder<SetMirroredResources<S>>where
S::MirroredResources: IsUnset,
pub fn mirrored_resources(
self,
value: impl Into<Output<PacketMirroringMirroredResources>>,
) -> PacketMirroringArgsBuilder<SetMirroredResources<S>>where
S::MirroredResources: IsUnset,
Required.
A means of specifying which resources to mirror. Structure is documented below.
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> PacketMirroringArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> PacketMirroringArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> PacketMirroringArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> PacketMirroringArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn network(
self,
value: impl Into<Output<PacketMirroringNetwork>>,
) -> PacketMirroringArgsBuilder<SetNetwork<S>>where
S::Network: IsUnset,
pub fn network(
self,
value: impl Into<Output<PacketMirroringNetwork>>,
) -> PacketMirroringArgsBuilder<SetNetwork<S>>where
S::Network: IsUnset,
Required.
Specifies the mirrored VPC network. Only packets in this network will be mirrored. All mirrored VMs should have a NIC in the given network. All mirrored subnetworks should belong to the given network. Structure is documented below.
sourcepub fn priority(
self,
value: impl Into<Output<Option<i32>>>,
) -> PacketMirroringArgsBuilder<SetPriority<S>>where
S::Priority: IsUnset,
pub fn priority(
self,
value: impl Into<Output<Option<i32>>>,
) -> PacketMirroringArgsBuilder<SetPriority<S>>where
S::Priority: IsUnset,
sourcepub fn maybe_priority(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> PacketMirroringArgsBuilder<SetPriority<S>>where
S::Priority: IsUnset,
pub fn maybe_priority(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> PacketMirroringArgsBuilder<SetPriority<S>>where
S::Priority: IsUnset,
sourcepub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> PacketMirroringArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> PacketMirroringArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> PacketMirroringArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> PacketMirroringArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn region(
self,
value: impl Into<Output<Option<String>>>,
) -> PacketMirroringArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn region(
self,
value: impl Into<Output<Option<String>>>,
) -> PacketMirroringArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
sourcepub fn maybe_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> PacketMirroringArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn maybe_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> PacketMirroringArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for PacketMirroringArgsBuilder<S>
impl<S> RefUnwindSafe for PacketMirroringArgsBuilder<S>
impl<S> Send for PacketMirroringArgsBuilder<S>
impl<S> Sync for PacketMirroringArgsBuilder<S>
impl<S> Unpin for PacketMirroringArgsBuilder<S>
impl<S> UnwindSafe for PacketMirroringArgsBuilder<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