@Generated(value="software.amazon.awssdk:codegen") public class DescribeEventTypesResponse extends HealthResponse implements ToCopyableBuilder<DescribeEventTypesResponse.Builder,DescribeEventTypesResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeEventTypesResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeEventTypesResponse.Builder |
builder() |
boolean |
equals(Object obj) |
List<EventType> |
eventTypes()
A list of event types that match the filter criteria.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
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 DescribeEventTypesResponse.Builder> |
serializableBuilderClass() |
DescribeEventTypesResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public List<EventType> eventTypes()
A list of event types that match the filter criteria. Event types have a category (issue
,
accountNotification
, or scheduledChange
), a service (for example, EC2
,
RDS
, DATAPIPELINE
, BILLING
), and a code (in the format
AWS_SERVICE_DESCRIPTION
; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT
).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
issue
,
accountNotification
, or scheduledChange
), a service (for example,
EC2
, RDS
, DATAPIPELINE
, BILLING
), and a code (in the
format AWS_SERVICE_DESCRIPTION
; for example,
AWS_EC2_SYSTEM_MAINTENANCE_EVENT
).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 DescribeEventTypesResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeEventTypesResponse.Builder,DescribeEventTypesResponse>
toBuilder
in class AwsResponse
public static DescribeEventTypesResponse.Builder builder()
public static Class<? extends DescribeEventTypesResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. 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 SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
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.