Struct aws_sdk_ec2::operation::create_traffic_mirror_session::builders::CreateTrafficMirrorSessionOutputBuilder
source · #[non_exhaustive]pub struct CreateTrafficMirrorSessionOutputBuilder { /* private fields */ }Expand description
A builder for CreateTrafficMirrorSessionOutput.
Implementations§
source§impl CreateTrafficMirrorSessionOutputBuilder
impl CreateTrafficMirrorSessionOutputBuilder
sourcepub fn traffic_mirror_session(self, input: TrafficMirrorSession) -> Self
pub fn traffic_mirror_session(self, input: TrafficMirrorSession) -> Self
Information about the Traffic Mirror session.
sourcepub fn set_traffic_mirror_session(
self,
input: Option<TrafficMirrorSession>
) -> Self
pub fn set_traffic_mirror_session( self, input: Option<TrafficMirrorSession> ) -> Self
Information about the Traffic Mirror session.
sourcepub fn get_traffic_mirror_session(&self) -> &Option<TrafficMirrorSession>
pub fn get_traffic_mirror_session(&self) -> &Option<TrafficMirrorSession>
Information about the Traffic Mirror session.
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) -> CreateTrafficMirrorSessionOutput
pub fn build(self) -> CreateTrafficMirrorSessionOutput
Consumes the builder and constructs a CreateTrafficMirrorSessionOutput.
Trait Implementations§
source§impl Clone for CreateTrafficMirrorSessionOutputBuilder
impl Clone for CreateTrafficMirrorSessionOutputBuilder
source§fn clone(&self) -> CreateTrafficMirrorSessionOutputBuilder
fn clone(&self) -> CreateTrafficMirrorSessionOutputBuilder
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 CreateTrafficMirrorSessionOutputBuilder
impl Default for CreateTrafficMirrorSessionOutputBuilder
source§fn default() -> CreateTrafficMirrorSessionOutputBuilder
fn default() -> CreateTrafficMirrorSessionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateTrafficMirrorSessionOutputBuilder> for CreateTrafficMirrorSessionOutputBuilder
impl PartialEq<CreateTrafficMirrorSessionOutputBuilder> for CreateTrafficMirrorSessionOutputBuilder
source§fn eq(&self, other: &CreateTrafficMirrorSessionOutputBuilder) -> bool
fn eq(&self, other: &CreateTrafficMirrorSessionOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateTrafficMirrorSessionOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateTrafficMirrorSessionOutputBuilder
impl Send for CreateTrafficMirrorSessionOutputBuilder
impl Sync for CreateTrafficMirrorSessionOutputBuilder
impl Unpin for CreateTrafficMirrorSessionOutputBuilder
impl UnwindSafe for CreateTrafficMirrorSessionOutputBuilder
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