Interface DescribeServiceLifecycleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeServiceLifecycleResponse.Builder,,DescribeServiceLifecycleResponse> HealthResponse.Builder,SdkBuilder<DescribeServiceLifecycleResponse.Builder,,DescribeServiceLifecycleResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeServiceLifecycleResponse
@Mutable
@NotThreadSafe
public static interface DescribeServiceLifecycleResponse.Builder
extends HealthResponse.Builder, SdkPojo, CopyableBuilder<DescribeServiceLifecycleResponse.Builder,DescribeServiceLifecycleResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the results of a search are large, only a portion of the results are returned, and anextTokenpagination token is returned in the response.serviceLifecycles(Collection<ServiceLifecycle> serviceLifecycles) The list of service lifecycle entries matching the filter criteria.serviceLifecycles(Consumer<ServiceLifecycle.Builder>... serviceLifecycles) The list of service lifecycle entries matching the filter criteria.serviceLifecycles(ServiceLifecycle... serviceLifecycles) The list of service lifecycle entries matching the filter criteria.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.health.model.HealthResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
serviceLifecycles
DescribeServiceLifecycleResponse.Builder serviceLifecycles(Collection<ServiceLifecycle> serviceLifecycles) The list of service lifecycle entries matching the filter criteria.
- Parameters:
serviceLifecycles- The list of service lifecycle entries matching the filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceLifecycles
The list of service lifecycle entries matching the filter criteria.
- Parameters:
serviceLifecycles- The list of service lifecycle entries matching the filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceLifecycles
DescribeServiceLifecycleResponse.Builder serviceLifecycles(Consumer<ServiceLifecycle.Builder>... serviceLifecycles) The list of service lifecycle entries matching the filter criteria.
This is a convenience method that creates an instance of theServiceLifecycle.Builderavoiding the need to create one manually viaServiceLifecycle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceLifecycles(List<ServiceLifecycle>).- Parameters:
serviceLifecycles- a consumer that will call methods onServiceLifecycle.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.
-