Interface DescribeEventTypesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeEventTypesRequest.Builder,DescribeEventTypesRequest>,HealthRequest.Builder,SdkBuilder<DescribeEventTypesRequest.Builder,DescribeEventTypesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeEventTypesRequest
public static interface DescribeEventTypesRequest.Builder extends HealthRequest.Builder, SdkPojo, CopyableBuilder<DescribeEventTypesRequest.Builder,DescribeEventTypesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeEventTypesRequest.Builderfilter(Consumer<EventTypeFilter.Builder> filter)Values to narrow the results returned.DescribeEventTypesRequest.Builderfilter(EventTypeFilter filter)Values to narrow the results returned.DescribeEventTypesRequest.Builderlocale(String locale)The locale (language) to return information in.DescribeEventTypesRequest.BuildermaxResults(Integer maxResults)The maximum number of items to return in one batch, between 10 and 100, inclusive.DescribeEventTypesRequest.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.DescribeEventTypesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribeEventTypesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.health.model.HealthRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
filter
DescribeEventTypesRequest.Builder filter(EventTypeFilter filter)
Values to narrow the results returned.
- Parameters:
filter- Values to narrow the results returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
default DescribeEventTypesRequest.Builder filter(Consumer<EventTypeFilter.Builder> filter)
Values to narrow the results returned.
This is a convenience method that creates an instance of theEventTypeFilter.Builderavoiding the need to create one manually viaEventTypeFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(EventTypeFilter).- Parameters:
filter- a consumer that will call methods onEventTypeFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filter(EventTypeFilter)
-
locale
DescribeEventTypesRequest.Builder locale(String locale)
The locale (language) to return information in. English (en) is the default and the only supported value at this time.
- Parameters:
locale- The locale (language) to return information in. English (en) is the default and the only supported value at this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
DescribeEventTypesRequest.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.
-
maxResults
DescribeEventTypesRequest.Builder maxResults(Integer maxResults)
The maximum number of items to return in one batch, between 10 and 100, inclusive.
If you don't specify the
maxResultsparameter, this operation returns a maximum of 30 items by default.- Parameters:
maxResults- The maximum number of items to return in one batch, between 10 and 100, inclusive.If you don't specify the
maxResultsparameter, this operation returns a maximum of 30 items by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeEventTypesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeEventTypesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-