pub struct PacketCaptureArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> PacketCaptureArgsBuilder<S>
impl<S: State> PacketCaptureArgsBuilder<S>
sourcepub fn build_struct(self) -> PacketCaptureArgswhere
S: IsComplete,
pub fn build_struct(self) -> PacketCaptureArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn filters(
self,
value: impl Into<Output<Option<Vec<PacketCaptureFilter>>>>,
) -> PacketCaptureArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
pub fn filters(
self,
value: impl Into<Output<Option<Vec<PacketCaptureFilter>>>>,
) -> PacketCaptureArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
sourcepub fn maybe_filters(
self,
value: Option<impl Into<Output<Option<Vec<PacketCaptureFilter>>>>>,
) -> PacketCaptureArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
pub fn maybe_filters(
self,
value: Option<impl Into<Output<Option<Vec<PacketCaptureFilter>>>>>,
) -> PacketCaptureArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
sourcepub fn maximum_bytes_per_packet(
self,
value: impl Into<Output<Option<i32>>>,
) -> PacketCaptureArgsBuilder<SetMaximumBytesPerPacket<S>>where
S::MaximumBytesPerPacket: IsUnset,
pub fn maximum_bytes_per_packet(
self,
value: impl Into<Output<Option<i32>>>,
) -> PacketCaptureArgsBuilder<SetMaximumBytesPerPacket<S>>where
S::MaximumBytesPerPacket: IsUnset,
sourcepub fn maybe_maximum_bytes_per_packet(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> PacketCaptureArgsBuilder<SetMaximumBytesPerPacket<S>>where
S::MaximumBytesPerPacket: IsUnset,
pub fn maybe_maximum_bytes_per_packet(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> PacketCaptureArgsBuilder<SetMaximumBytesPerPacket<S>>where
S::MaximumBytesPerPacket: IsUnset,
sourcepub fn maximum_bytes_per_session(
self,
value: impl Into<Output<Option<i32>>>,
) -> PacketCaptureArgsBuilder<SetMaximumBytesPerSession<S>>where
S::MaximumBytesPerSession: IsUnset,
pub fn maximum_bytes_per_session(
self,
value: impl Into<Output<Option<i32>>>,
) -> PacketCaptureArgsBuilder<SetMaximumBytesPerSession<S>>where
S::MaximumBytesPerSession: IsUnset,
sourcepub fn maybe_maximum_bytes_per_session(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> PacketCaptureArgsBuilder<SetMaximumBytesPerSession<S>>where
S::MaximumBytesPerSession: IsUnset,
pub fn maybe_maximum_bytes_per_session(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> PacketCaptureArgsBuilder<SetMaximumBytesPerSession<S>>where
S::MaximumBytesPerSession: IsUnset,
sourcepub fn maximum_capture_duration_in_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> PacketCaptureArgsBuilder<SetMaximumCaptureDurationInSeconds<S>>where
S::MaximumCaptureDurationInSeconds: IsUnset,
pub fn maximum_capture_duration_in_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> PacketCaptureArgsBuilder<SetMaximumCaptureDurationInSeconds<S>>where
S::MaximumCaptureDurationInSeconds: IsUnset,
sourcepub fn maybe_maximum_capture_duration_in_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> PacketCaptureArgsBuilder<SetMaximumCaptureDurationInSeconds<S>>where
S::MaximumCaptureDurationInSeconds: IsUnset,
pub fn maybe_maximum_capture_duration_in_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> PacketCaptureArgsBuilder<SetMaximumCaptureDurationInSeconds<S>>where
S::MaximumCaptureDurationInSeconds: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> PacketCaptureArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> PacketCaptureArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> PacketCaptureArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> PacketCaptureArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn network_watcher_id(
self,
value: impl Into<Output<String>>,
) -> PacketCaptureArgsBuilder<SetNetworkWatcherId<S>>where
S::NetworkWatcherId: IsUnset,
pub fn network_watcher_id(
self,
value: impl Into<Output<String>>,
) -> PacketCaptureArgsBuilder<SetNetworkWatcherId<S>>where
S::NetworkWatcherId: IsUnset,
Required.
The resource ID of the Network Watcher. Changing this forces a new resource to be created.
sourcepub fn storage_location(
self,
value: impl Into<Output<PacketCaptureStorageLocation>>,
) -> PacketCaptureArgsBuilder<SetStorageLocation<S>>where
S::StorageLocation: IsUnset,
pub fn storage_location(
self,
value: impl Into<Output<PacketCaptureStorageLocation>>,
) -> PacketCaptureArgsBuilder<SetStorageLocation<S>>where
S::StorageLocation: IsUnset,
Required.
A storage_location
block as defined below. Changing this forces a new resource to be created.
sourcepub fn virtual_machine_id(
self,
value: impl Into<Output<String>>,
) -> PacketCaptureArgsBuilder<SetVirtualMachineId<S>>where
S::VirtualMachineId: IsUnset,
pub fn virtual_machine_id(
self,
value: impl Into<Output<String>>,
) -> PacketCaptureArgsBuilder<SetVirtualMachineId<S>>where
S::VirtualMachineId: IsUnset,
Required.
The resource ID of the target Virtual Machine to capture packets from. Changing this forces a new resource to be created.
Auto Trait Implementations§
impl<S> Freeze for PacketCaptureArgsBuilder<S>
impl<S> RefUnwindSafe for PacketCaptureArgsBuilder<S>
impl<S> Send for PacketCaptureArgsBuilder<S>
impl<S> Sync for PacketCaptureArgsBuilder<S>
impl<S> Unpin for PacketCaptureArgsBuilder<S>
impl<S> UnwindSafe for PacketCaptureArgsBuilder<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