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 ==.