Class GetRelationalDatabaseLogEventsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lightsail.model.LightsailRequest
-
- software.amazon.awssdk.services.lightsail.model.GetRelationalDatabaseLogEventsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetRelationalDatabaseLogEventsRequest.Builder,GetRelationalDatabaseLogEventsRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetRelationalDatabaseLogEventsRequest extends LightsailRequest implements ToCopyableBuilder<GetRelationalDatabaseLogEventsRequest.Builder,GetRelationalDatabaseLogEventsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetRelationalDatabaseLogEventsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetRelationalDatabaseLogEventsRequest.Builderbuilder()InstantendTime()The end of the time interval from which to get log events.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlogStreamName()The name of the log stream.StringpageToken()The token to advance to the next or previous page of results from your request.StringrelationalDatabaseName()The name of your database for which to get log events.List<SdkField<?>>sdkFields()static Class<? extends GetRelationalDatabaseLogEventsRequest.Builder>serializableBuilderClass()BooleanstartFromHead()Parameter to specify if the log should start from head or tail.InstantstartTime()The start of the time interval from which to get log events.GetRelationalDatabaseLogEventsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
relationalDatabaseName
public final String relationalDatabaseName()
The name of your database for which to get log events.
- Returns:
- The name of your database for which to get log events.
-
logStreamName
public final String logStreamName()
The name of the log stream.
Use the
get relational database log streamsoperation to get a list of available log streams.- Returns:
- The name of the log stream.
Use the
get relational database log streamsoperation to get a list of available log streams.
-
startTime
public final Instant startTime()
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
1538424000as the start time.
- Returns:
- 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
1538424000as the start time.
-
-
-
endTime
public final Instant endTime()
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
1538424000as the end time.
- Returns:
- 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
1538424000as the end time.
-
-
-
startFromHead
public final Boolean startFromHead()
Parameter to specify if the log should start from head or tail. If
trueis specified, the log event starts from the head of the log. Iffalseis specified, the log event starts from the tail of the log.For PostgreSQL, the default value of
falseis the only option available.- Returns:
- Parameter to specify if the log should start from head or tail. If
trueis specified, the log event starts from the head of the log. Iffalseis specified, the log event starts from the tail of the log.For PostgreSQL, the default value of
falseis the only option available.
-
pageToken
public final String pageToken()
The token to advance to the next or previous page of results from your request.
To get a page token, perform an initial
GetRelationalDatabaseLogEventsrequest. 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.- Returns:
- The token to advance to the next or previous page of results from your request.
To get a page token, perform an initial
GetRelationalDatabaseLogEventsrequest. 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.
-
toBuilder
public GetRelationalDatabaseLogEventsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetRelationalDatabaseLogEventsRequest.Builder,GetRelationalDatabaseLogEventsRequest>- Specified by:
toBuilderin classLightsailRequest
-
builder
public static GetRelationalDatabaseLogEventsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetRelationalDatabaseLogEventsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-