Interface DescribeServiceLifecycleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeServiceLifecycleRequest.Builder,,DescribeServiceLifecycleRequest> HealthRequest.Builder,SdkBuilder<DescribeServiceLifecycleRequest.Builder,,DescribeServiceLifecycleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeServiceLifecycleRequest
@Mutable
@NotThreadSafe
public static interface DescribeServiceLifecycleRequest.Builder
extends HealthRequest.Builder, SdkPojo, CopyableBuilder<DescribeServiceLifecycleRequest.Builder,DescribeServiceLifecycleRequest>
-
Method Summary
Modifier and TypeMethodDescriptionfilter(Consumer<ServiceLifecycleFilter.Builder> filter) Values to narrow the results returned.filter(ServiceLifecycleFilter filter) Values to narrow the results returned.maxResults(Integer maxResults) The maximum number of items to return in one batch, between 1 and 20, inclusive.If the results of a search are large, only a portion of the results are returned, and anextTokenpagination token is returned in the response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.health.model.HealthRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 DescribeServiceLifecycleRequest.Builder filter(Consumer<ServiceLifecycleFilter.Builder> filter) Values to narrow the results returned.
This is a convenience method that creates an instance of theServiceLifecycleFilter.Builderavoiding the need to create one manually viaServiceLifecycleFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(ServiceLifecycleFilter).- Parameters:
filter- a consumer that will call methods onServiceLifecycleFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
The maximum number of items to return in one batch, between 1 and 20, inclusive.
- Parameters:
maxResults- The maximum number of items to return in one batch, between 1 and 20, inclusive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeServiceLifecycleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeServiceLifecycleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-