Interface DescribeEventTypesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeEventTypesResponse.Builder,DescribeEventTypesResponse>,HealthResponse.Builder,SdkBuilder<DescribeEventTypesResponse.Builder,DescribeEventTypesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeEventTypesResponse
public static interface DescribeEventTypesResponse.Builder extends HealthResponse.Builder, SdkPojo, CopyableBuilder<DescribeEventTypesResponse.Builder,DescribeEventTypesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeEventTypesResponse.BuildereventTypes(Collection<EventType> eventTypes)A list of event types that match the filter criteria.DescribeEventTypesResponse.BuildereventTypes(Consumer<EventType.Builder>... eventTypes)A list of event types that match the filter criteria.DescribeEventTypesResponse.BuildereventTypes(EventType... eventTypes)A list of event types that match the filter criteria.DescribeEventTypesResponse.BuildernextToken(String nextToken)If the results of a search are large, only a portion of the results are returned, and anextTokenpagination token is returned in the response.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.health.model.HealthResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
eventTypes
DescribeEventTypesResponse.Builder eventTypes(Collection<EventType> eventTypes)
A list of event types that match the filter criteria. Event types have a category (
issue,accountNotification, orscheduledChange), a service (for example,EC2,RDS,DATAPIPELINE,BILLING), and a code (in the formatAWS_SERVICE_DESCRIPTION; for example,AWS_EC2_SYSTEM_MAINTENANCE_EVENT).- Parameters:
eventTypes- A list of event types that match the filter criteria. Event types have a category (issue,accountNotification, orscheduledChange), a service (for example,EC2,RDS,DATAPIPELINE,BILLING), and a code (in the formatAWS_SERVICE_DESCRIPTION; for example,AWS_EC2_SYSTEM_MAINTENANCE_EVENT).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypes
DescribeEventTypesResponse.Builder eventTypes(EventType... eventTypes)
A list of event types that match the filter criteria. Event types have a category (
issue,accountNotification, orscheduledChange), a service (for example,EC2,RDS,DATAPIPELINE,BILLING), and a code (in the formatAWS_SERVICE_DESCRIPTION; for example,AWS_EC2_SYSTEM_MAINTENANCE_EVENT).- Parameters:
eventTypes- A list of event types that match the filter criteria. Event types have a category (issue,accountNotification, orscheduledChange), a service (for example,EC2,RDS,DATAPIPELINE,BILLING), and a code (in the formatAWS_SERVICE_DESCRIPTION; for example,AWS_EC2_SYSTEM_MAINTENANCE_EVENT).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypes
DescribeEventTypesResponse.Builder eventTypes(Consumer<EventType.Builder>... eventTypes)
A list of event types that match the filter criteria. Event types have a category (
This is a convenience method that creates an instance of theissue,accountNotification, orscheduledChange), a service (for example,EC2,RDS,DATAPIPELINE,BILLING), and a code (in the formatAWS_SERVICE_DESCRIPTION; for example,AWS_EC2_SYSTEM_MAINTENANCE_EVENT).EventType.Builderavoiding the need to create one manually viaEventType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#eventTypes(List.) - Parameters:
eventTypes- a consumer that will call methods onEventType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#eventTypes(java.util.Collection)
-
nextToken
DescribeEventTypesResponse.Builder nextToken(String nextToken)
If the results of a search are large, only a portion of the results are returned, and a
nextTokenpagination 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.- Parameters:
nextToken- If the results of a search are large, only a portion of the results are returned, and anextTokenpagination 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-