Interface GetRelationalDatabaseLogEventsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetRelationalDatabaseLogEventsRequest.Builder,
,GetRelationalDatabaseLogEventsRequest> LightsailRequest.Builder
,SdkBuilder<GetRelationalDatabaseLogEventsRequest.Builder,
,GetRelationalDatabaseLogEventsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetRelationalDatabaseLogEventsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe end of the time interval from which to get log events.logStreamName
(String logStreamName) The name of the log stream.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The token to advance to the next or previous page of results from your request.relationalDatabaseName
(String relationalDatabaseName) The name of your database for which to get log events.startFromHead
(Boolean startFromHead) Parameter to specify if the log should start from head or tail.The start of the time interval from which to get log events.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
relationalDatabaseName
The name of your database for which to get log events.
- Parameters:
relationalDatabaseName
- The name of your database for which to get log events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logStreamName
The name of the log stream.
Use the
get relational database log streams
operation to get a list of available log streams.- Parameters:
logStreamName
- The name of the log stream.Use the
get relational database log streams
operation to get a list of available log streams.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
1538424000
as the start time.
- Parameters:
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
1538424000
as the start time.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
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
1538424000
as the end time.
- Parameters:
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
1538424000
as the end time.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
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. Iffalse
is specified, the log event starts from the tail of the log.For PostgreSQL, the default value of
false
is the only option available.- Parameters:
startFromHead
- Parameter to specify if the log should start from head or tail. Iftrue
is specified, the log event starts from the head of the log. Iffalse
is specified, the log event starts from the tail of the log.For PostgreSQL, the default value of
false
is the only option available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pageToken
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.- Parameters:
pageToken
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetRelationalDatabaseLogEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetRelationalDatabaseLogEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-