Struct aws_sdk_lightsail::operation::get_relational_database_log_events::builders::GetRelationalDatabaseLogEventsInputBuilder
source · #[non_exhaustive]pub struct GetRelationalDatabaseLogEventsInputBuilder { /* private fields */ }
Expand description
A builder for GetRelationalDatabaseLogEventsInput
.
Implementations§
source§impl GetRelationalDatabaseLogEventsInputBuilder
impl GetRelationalDatabaseLogEventsInputBuilder
sourcepub fn relational_database_name(self, input: impl Into<String>) -> Self
pub fn relational_database_name(self, input: impl Into<String>) -> Self
The name of your database for which to get log events.
This field is required.sourcepub fn set_relational_database_name(self, input: Option<String>) -> Self
pub fn set_relational_database_name(self, input: Option<String>) -> Self
The name of your database for which to get log events.
sourcepub fn get_relational_database_name(&self) -> &Option<String>
pub fn get_relational_database_name(&self) -> &Option<String>
The name of your database for which to get log events.
sourcepub fn log_stream_name(self, input: impl Into<String>) -> Self
pub fn log_stream_name(self, input: impl Into<String>) -> Self
The name of the log stream.
Use the get relational database log streams
operation to get a list of available log streams.
sourcepub fn set_log_stream_name(self, input: Option<String>) -> Self
pub fn set_log_stream_name(self, input: Option<String>) -> Self
The name of the log stream.
Use the get relational database log streams
operation to get a list of available log streams.
sourcepub fn get_log_stream_name(&self) -> &Option<String>
pub fn get_log_stream_name(&self) -> &Option<String>
The name of the log stream.
Use the get relational database log streams
operation to get a list of available log streams.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start of the time interval from which to get log events.
Constraints:
-
Specified in Coordinated Universal Time (UTC).
-
Specified in the Unix time format.
For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the start time.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start of the time interval from which to get log events.
Constraints:
-
Specified in Coordinated Universal Time (UTC).
-
Specified in the Unix time format.
For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the start time.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The start of the time interval from which to get log events.
Constraints:
-
Specified in Coordinated Universal Time (UTC).
-
Specified in the Unix time format.
For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the start time.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The end of the time interval from which to get log events.
Constraints:
-
Specified in Coordinated Universal Time (UTC).
-
Specified in the Unix time format.
For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the end time.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The end of the time interval from which to get log events.
Constraints:
-
Specified in Coordinated Universal Time (UTC).
-
Specified in the Unix time format.
For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the end time.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The end of the time interval from which to get log events.
Constraints:
-
Specified in Coordinated Universal Time (UTC).
-
Specified in the Unix time format.
For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the end time.
sourcepub fn start_from_head(self, input: bool) -> Self
pub fn start_from_head(self, input: bool) -> Self
Parameter to specify if the log should start from head or tail. If true
is specified, the log event starts from the head of the log. If false
is specified, the log event starts from the tail of the log.
For PostgreSQL, the default value of false
is the only option available.
sourcepub fn set_start_from_head(self, input: Option<bool>) -> Self
pub fn set_start_from_head(self, input: Option<bool>) -> Self
Parameter to specify if the log should start from head or tail. If true
is specified, the log event starts from the head of the log. If false
is specified, the log event starts from the tail of the log.
For PostgreSQL, the default value of false
is the only option available.
sourcepub fn get_start_from_head(&self) -> &Option<bool>
pub fn get_start_from_head(&self) -> &Option<bool>
Parameter to specify if the log should start from head or tail. If true
is specified, the log event starts from the head of the log. If false
is specified, the log event starts from the tail of the log.
For PostgreSQL, the default value of false
is the only option available.
sourcepub fn page_token(self, input: impl Into<String>) -> Self
pub fn page_token(self, input: impl Into<String>) -> Self
The token to advance to the next or previous page of results from your request.
To get a page token, perform an initial GetRelationalDatabaseLogEvents
request. If your results are paginated, the response will return a next forward token and/or next backward token that you can specify as the page token in a subsequent request.
sourcepub fn set_page_token(self, input: Option<String>) -> Self
pub fn set_page_token(self, input: Option<String>) -> Self
The token to advance to the next or previous page of results from your request.
To get a page token, perform an initial GetRelationalDatabaseLogEvents
request. If your results are paginated, the response will return a next forward token and/or next backward token that you can specify as the page token in a subsequent request.
sourcepub fn get_page_token(&self) -> &Option<String>
pub fn get_page_token(&self) -> &Option<String>
The token to advance to the next or previous page of results from your request.
To get a page token, perform an initial GetRelationalDatabaseLogEvents
request. If your results are paginated, the response will return a next forward token and/or next backward token that you can specify as the page token in a subsequent request.
sourcepub fn build(self) -> Result<GetRelationalDatabaseLogEventsInput, BuildError>
pub fn build(self) -> Result<GetRelationalDatabaseLogEventsInput, BuildError>
Consumes the builder and constructs a GetRelationalDatabaseLogEventsInput
.
source§impl GetRelationalDatabaseLogEventsInputBuilder
impl GetRelationalDatabaseLogEventsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetRelationalDatabaseLogEventsOutput, SdkError<GetRelationalDatabaseLogEventsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetRelationalDatabaseLogEventsOutput, SdkError<GetRelationalDatabaseLogEventsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetRelationalDatabaseLogEventsInputBuilder
impl Clone for GetRelationalDatabaseLogEventsInputBuilder
source§fn clone(&self) -> GetRelationalDatabaseLogEventsInputBuilder
fn clone(&self) -> GetRelationalDatabaseLogEventsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetRelationalDatabaseLogEventsInputBuilder
impl Default for GetRelationalDatabaseLogEventsInputBuilder
source§fn default() -> GetRelationalDatabaseLogEventsInputBuilder
fn default() -> GetRelationalDatabaseLogEventsInputBuilder
source§impl PartialEq for GetRelationalDatabaseLogEventsInputBuilder
impl PartialEq for GetRelationalDatabaseLogEventsInputBuilder
source§fn eq(&self, other: &GetRelationalDatabaseLogEventsInputBuilder) -> bool
fn eq(&self, other: &GetRelationalDatabaseLogEventsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetRelationalDatabaseLogEventsInputBuilder
Auto Trait Implementations§
impl Freeze for GetRelationalDatabaseLogEventsInputBuilder
impl RefUnwindSafe for GetRelationalDatabaseLogEventsInputBuilder
impl Send for GetRelationalDatabaseLogEventsInputBuilder
impl Sync for GetRelationalDatabaseLogEventsInputBuilder
impl Unpin for GetRelationalDatabaseLogEventsInputBuilder
impl UnwindSafe for GetRelationalDatabaseLogEventsInputBuilder
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