@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEventTypesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeEventTypesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEventTypesResult |
clone() |
boolean |
equals(Object obj) |
List<EventType> |
getEventTypes()
A list of event types that match the filter criteria.
|
String |
getNextToken()
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. |
int |
hashCode() |
void |
setEventTypes(Collection<EventType> eventTypes)
A list of event types that match the filter criteria.
|
void |
setNextToken(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. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeEventTypesResult |
withEventTypes(Collection<EventType> eventTypes)
A list of event types that match the filter criteria.
|
DescribeEventTypesResult |
withEventTypes(EventType... eventTypes)
A list of event types that match the filter criteria.
|
DescribeEventTypesResult |
withNextToken(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. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EventType> getEventTypes()
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
).
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 void setEventTypes(Collection<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
).
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
).public DescribeEventTypesResult withEventTypes(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
).
NOTE: This method appends the values to the existing list (if any). Use
setEventTypes(java.util.Collection)
or withEventTypes(java.util.Collection)
if you want to
override the existing values.
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
).public DescribeEventTypesResult withEventTypes(Collection<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
).
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
).public void setNextToken(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
- 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.public String getNextToken()
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 DescribeEventTypesResult withNextToken(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
- 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.public String toString()
toString
in class Object
Object.toString()
public DescribeEventTypesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.