Struct aws_sdk_ec2::operation::create_traffic_mirror_target::builders::CreateTrafficMirrorTargetOutputBuilder
source · #[non_exhaustive]pub struct CreateTrafficMirrorTargetOutputBuilder { /* private fields */ }Expand description
A builder for CreateTrafficMirrorTargetOutput.
Implementations§
source§impl CreateTrafficMirrorTargetOutputBuilder
impl CreateTrafficMirrorTargetOutputBuilder
sourcepub fn traffic_mirror_target(self, input: TrafficMirrorTarget) -> Self
pub fn traffic_mirror_target(self, input: TrafficMirrorTarget) -> Self
Information about the Traffic Mirror target.
sourcepub fn set_traffic_mirror_target(
self,
input: Option<TrafficMirrorTarget>
) -> Self
pub fn set_traffic_mirror_target( self, input: Option<TrafficMirrorTarget> ) -> Self
Information about the Traffic Mirror target.
sourcepub fn get_traffic_mirror_target(&self) -> &Option<TrafficMirrorTarget>
pub fn get_traffic_mirror_target(&self) -> &Option<TrafficMirrorTarget>
Information about the Traffic Mirror target.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
sourcepub fn build(self) -> CreateTrafficMirrorTargetOutput
pub fn build(self) -> CreateTrafficMirrorTargetOutput
Consumes the builder and constructs a CreateTrafficMirrorTargetOutput.
Trait Implementations§
source§impl Clone for CreateTrafficMirrorTargetOutputBuilder
impl Clone for CreateTrafficMirrorTargetOutputBuilder
source§fn clone(&self) -> CreateTrafficMirrorTargetOutputBuilder
fn clone(&self) -> CreateTrafficMirrorTargetOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for CreateTrafficMirrorTargetOutputBuilder
impl Default for CreateTrafficMirrorTargetOutputBuilder
source§fn default() -> CreateTrafficMirrorTargetOutputBuilder
fn default() -> CreateTrafficMirrorTargetOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateTrafficMirrorTargetOutputBuilder
impl PartialEq for CreateTrafficMirrorTargetOutputBuilder
source§fn eq(&self, other: &CreateTrafficMirrorTargetOutputBuilder) -> bool
fn eq(&self, other: &CreateTrafficMirrorTargetOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateTrafficMirrorTargetOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateTrafficMirrorTargetOutputBuilder
impl RefUnwindSafe for CreateTrafficMirrorTargetOutputBuilder
impl Send for CreateTrafficMirrorTargetOutputBuilder
impl Sync for CreateTrafficMirrorTargetOutputBuilder
impl Unpin for CreateTrafficMirrorTargetOutputBuilder
impl UnwindSafe for CreateTrafficMirrorTargetOutputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.