@Generated(value="software.amazon.awssdk:codegen") public final class GetLogGroupFieldsRequest extends CloudWatchLogsRequest implements ToCopyableBuilder<GetLogGroupFieldsRequest.Builder,GetLogGroupFieldsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetLogGroupFieldsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetLogGroupFieldsRequest.Builder |
builder() |
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 |
logGroupName()
The name of the log group to search.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetLogGroupFieldsRequest.Builder> |
serializableBuilderClass() |
Long |
time()
The time to set as the center of the query.
|
GetLogGroupFieldsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfigurationcopypublic String logGroupName()
The name of the log group to search.
public Long 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 omit time, the past 15 minutes are queried.
The time value is specified as epoch time, the number of seconds since January 1, 1970, 00:00:00
UTC.
time, the 8 minutes before and 8
minutes after this time are searched. If you omit time, the past 15 minutes are queried.
The time value is specified as epoch time, the number of seconds since January 1, 1970,
00:00:00 UTC.
public GetLogGroupFieldsRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<GetLogGroupFieldsRequest.Builder,GetLogGroupFieldsRequest>toBuilder in class CloudWatchLogsRequestpublic static GetLogGroupFieldsRequest.Builder builder()
public static Class<? extends GetLogGroupFieldsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. 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 SdkRequestfieldName - 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.