@Generated(value="software.amazon.awssdk:codegen") public class DescribeEventAggregatesRequest extends HealthRequest implements ToCopyableBuilder<DescribeEventAggregatesRequest.Builder,DescribeEventAggregatesRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeEventAggregatesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
EventAggregateField |
aggregateField()
The only currently supported value is
eventTypeCategory . |
String |
aggregateFieldAsString()
The only currently supported value is
eventTypeCategory . |
static DescribeEventAggregatesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
EventFilter |
filter()
Values to narrow the results returned.
|
<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() |
Integer |
maxResults()
The maximum number of items to return in one batch, between 10 and 100, inclusive.
|
String |
nextToken()
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. |
static Class<? extends DescribeEventAggregatesRequest.Builder> |
serializableBuilderClass() |
DescribeEventAggregatesRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public EventFilter filter()
Values to narrow the results returned.
public EventAggregateField aggregateField()
The only currently supported value is eventTypeCategory
.
If the service returns an enum value that is not available in the current SDK version, aggregateField
will return EventAggregateField.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from aggregateFieldAsString()
.
eventTypeCategory
.EventAggregateField
public String aggregateFieldAsString()
The only currently supported value is eventTypeCategory
.
If the service returns an enum value that is not available in the current SDK version, aggregateField
will return EventAggregateField.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from aggregateFieldAsString()
.
eventTypeCategory
.EventAggregateField
public Integer maxResults()
The maximum number of items to return in one batch, between 10 and 100, inclusive.
public String nextToken()
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request
and include the returned token. When all results have been returned, the response does not contain a pagination
token value.
nextToken
pagination token is returned in the response. To retrieve the next batch of
results, reissue the search request and include the returned token. When all results have been returned,
the response does not contain a pagination token value.public DescribeEventAggregatesRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeEventAggregatesRequest.Builder,DescribeEventAggregatesRequest>
toBuilder
in class HealthRequest
public static DescribeEventAggregatesRequest.Builder builder()
public static Class<? extends DescribeEventAggregatesRequest.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.