Struct aws_sdk_amplify::operation::generate_access_logs::builders::GenerateAccessLogsInputBuilder
source · #[non_exhaustive]pub struct GenerateAccessLogsInputBuilder { /* private fields */ }Expand description
A builder for GenerateAccessLogsInput.
Implementations§
source§impl GenerateAccessLogsInputBuilder
impl GenerateAccessLogsInputBuilder
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The time at which the logs should start. The time range specified is inclusive of the start time.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The time at which the logs should start. The time range specified is inclusive of the start time.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The time at which the logs should start. The time range specified is inclusive of the start time.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The time at which the logs should end. The time range specified is inclusive of the end time.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The time at which the logs should end. The time range specified is inclusive of the end time.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The time at which the logs should end. The time range specified is inclusive of the end time.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The name of the domain.
This field is required.sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The name of the domain.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The name of the domain.
sourcepub fn app_id(self, input: impl Into<String>) -> Self
pub fn app_id(self, input: impl Into<String>) -> Self
The unique ID for an Amplify app.
This field is required.sourcepub fn set_app_id(self, input: Option<String>) -> Self
pub fn set_app_id(self, input: Option<String>) -> Self
The unique ID for an Amplify app.
sourcepub fn get_app_id(&self) -> &Option<String>
pub fn get_app_id(&self) -> &Option<String>
The unique ID for an Amplify app.
sourcepub fn build(self) -> Result<GenerateAccessLogsInput, BuildError>
pub fn build(self) -> Result<GenerateAccessLogsInput, BuildError>
Consumes the builder and constructs a GenerateAccessLogsInput.
source§impl GenerateAccessLogsInputBuilder
impl GenerateAccessLogsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GenerateAccessLogsOutput, SdkError<GenerateAccessLogsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GenerateAccessLogsOutput, SdkError<GenerateAccessLogsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GenerateAccessLogsInputBuilder
impl Clone for GenerateAccessLogsInputBuilder
source§fn clone(&self) -> GenerateAccessLogsInputBuilder
fn clone(&self) -> GenerateAccessLogsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GenerateAccessLogsInputBuilder
impl Default for GenerateAccessLogsInputBuilder
source§fn default() -> GenerateAccessLogsInputBuilder
fn default() -> GenerateAccessLogsInputBuilder
source§impl PartialEq for GenerateAccessLogsInputBuilder
impl PartialEq for GenerateAccessLogsInputBuilder
source§fn eq(&self, other: &GenerateAccessLogsInputBuilder) -> bool
fn eq(&self, other: &GenerateAccessLogsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GenerateAccessLogsInputBuilder
Auto Trait Implementations§
impl Freeze for GenerateAccessLogsInputBuilder
impl RefUnwindSafe for GenerateAccessLogsInputBuilder
impl Send for GenerateAccessLogsInputBuilder
impl Sync for GenerateAccessLogsInputBuilder
impl Unpin for GenerateAccessLogsInputBuilder
impl UnwindSafe for GenerateAccessLogsInputBuilder
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