Interface GetLogGroupFieldsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudWatchLogsRequest.Builder
,CopyableBuilder<GetLogGroupFieldsRequest.Builder,
,GetLogGroupFieldsRequest> SdkBuilder<GetLogGroupFieldsRequest.Builder,
,GetLogGroupFieldsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetLogGroupFieldsRequest
-
Method Summary
Modifier and TypeMethodDescriptionlogGroupIdentifier
(String logGroupIdentifier) Specify either the name or ARN of the log group to view.logGroupName
(String logGroupName) The name of the log group to search.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The time to set as the center of the query.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
logGroupName
The name of the log group to search.
You must include either
logGroupIdentifier
orlogGroupName
, but not both.- Parameters:
logGroupName
- The name of the log group to search.You must include either
logGroupIdentifier
orlogGroupName
, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
time
The time to set as the center of the query. If you specify
time
, the 8 minutes before and 8 minutes after this time are searched. If you omittime
, the most recent 15 minutes up to the current time are searched.The
time
value is specified as epoch time, which is the number of seconds sinceJanuary 1, 1970, 00:00:00 UTC
.- Parameters:
time
- The time to set as the center of the query. If you specifytime
, the 8 minutes before and 8 minutes after this time are searched. If you omittime
, the most recent 15 minutes up to the current time are searched.The
time
value is specified as epoch time, which is the number of seconds sinceJanuary 1, 1970, 00:00:00 UTC
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupIdentifier
Specify either the name or ARN of the log group to view. If the log group is in a source account and you are using a monitoring account, you must specify the ARN.
You must include either
logGroupIdentifier
orlogGroupName
, but not both.- Parameters:
logGroupIdentifier
- Specify either the name or ARN of the log group to view. If the log group is in a source account and you are using a monitoring account, you must specify the ARN.You must include either
logGroupIdentifier
orlogGroupName
, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetLogGroupFieldsRequest.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
GetLogGroupFieldsRequest.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.
-