@Generated(value="software.amazon.awssdk:codegen") public final class GetRelationalDatabaseLogEventsRequest extends LightsailRequest implements ToCopyableBuilder<GetRelationalDatabaseLogEventsRequest.Builder,GetRelationalDatabaseLogEventsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
GetRelationalDatabaseLogEventsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetRelationalDatabaseLogEventsRequest.Builder |
builder() |
Instant |
endTime()
The end of the time interval from which to get log events.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
logStreamName()
The name of the log stream.
|
String |
pageToken()
A token used for advancing to a specific page of results for your
get relational database log events
request. |
String |
relationalDatabaseName()
The name of your database for which to get log events.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetRelationalDatabaseLogEventsRequest.Builder> |
serializableBuilderClass() |
Boolean |
startFromHead()
Parameter to specify if the log should start from head or tail.
|
Instant |
startTime()
The start of the time interval from which to get log events.
|
GetRelationalDatabaseLogEventsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String relationalDatabaseName()
The name of your database for which to get log events.
public String logStreamName()
The name of the log stream.
Use the get relational database log streams
operation to get a list of available log streams.
Use the get relational database log streams
operation to get a list of available log
streams.
public Instant startTime()
The start of the time interval from which to get log events.
Constraints:
Specified in Universal Coordinated 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.
Constraints:
Specified in Universal Coordinated 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.
public Instant endTime()
The end of the time interval from which to get log events.
Constraints:
Specified in Universal Coordinated 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.
Constraints:
Specified in Universal Coordinated 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.
public Boolean startFromHead()
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.
Default: false
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.
Default: false
public String pageToken()
A token used for advancing to a specific page of results for your get relational database log events
request.
get relational database log events
request.public GetRelationalDatabaseLogEventsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetRelationalDatabaseLogEventsRequest.Builder,GetRelationalDatabaseLogEventsRequest>
toBuilder
in class LightsailRequest
public static GetRelationalDatabaseLogEventsRequest.Builder builder()
public static Class<? extends GetRelationalDatabaseLogEventsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.