#[non_exhaustive]pub struct StartLoggingInputBuilder { /* private fields */ }
Expand description
A builder for StartLoggingInput
.
Implementations§
source§impl StartLoggingInputBuilder
impl StartLoggingInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs Amazon Web Services API calls. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs Amazon Web Services API calls. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs Amazon Web Services API calls. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
sourcepub fn build(self) -> Result<StartLoggingInput, BuildError>
pub fn build(self) -> Result<StartLoggingInput, BuildError>
Consumes the builder and constructs a StartLoggingInput
.
source§impl StartLoggingInputBuilder
impl StartLoggingInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartLoggingOutput, SdkError<StartLoggingError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartLoggingOutput, SdkError<StartLoggingError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartLoggingInputBuilder
impl Clone for StartLoggingInputBuilder
source§fn clone(&self) -> StartLoggingInputBuilder
fn clone(&self) -> StartLoggingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartLoggingInputBuilder
impl Debug for StartLoggingInputBuilder
source§impl Default for StartLoggingInputBuilder
impl Default for StartLoggingInputBuilder
source§fn default() -> StartLoggingInputBuilder
fn default() -> StartLoggingInputBuilder
source§impl PartialEq for StartLoggingInputBuilder
impl PartialEq for StartLoggingInputBuilder
source§fn eq(&self, other: &StartLoggingInputBuilder) -> bool
fn eq(&self, other: &StartLoggingInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartLoggingInputBuilder
Auto Trait Implementations§
impl Freeze for StartLoggingInputBuilder
impl RefUnwindSafe for StartLoggingInputBuilder
impl Send for StartLoggingInputBuilder
impl Sync for StartLoggingInputBuilder
impl Unpin for StartLoggingInputBuilder
impl UnwindSafe for StartLoggingInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more