Interface DescribeServiceEnvironmentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BatchResponse.Builder,Buildable,CopyableBuilder<DescribeServiceEnvironmentsResponse.Builder,DescribeServiceEnvironmentsResponse>,SdkBuilder<DescribeServiceEnvironmentsResponse.Builder,DescribeServiceEnvironmentsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeServiceEnvironmentsResponse
@Mutable @NotThreadSafe public static interface DescribeServiceEnvironmentsResponse.Builder extends BatchResponse.Builder, SdkPojo, CopyableBuilder<DescribeServiceEnvironmentsResponse.Builder,DescribeServiceEnvironmentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeServiceEnvironmentsResponse.BuildernextToken(String nextToken)ThenextTokenvalue to include in a futureDescribeServiceEnvironmentsrequest.DescribeServiceEnvironmentsResponse.BuilderserviceEnvironments(Collection<ServiceEnvironmentDetail> serviceEnvironments)The list of service environments that match the request.DescribeServiceEnvironmentsResponse.BuilderserviceEnvironments(Consumer<ServiceEnvironmentDetail.Builder>... serviceEnvironments)The list of service environments that match the request.DescribeServiceEnvironmentsResponse.BuilderserviceEnvironments(ServiceEnvironmentDetail... serviceEnvironments)The list of service environments that match the request.-
Methods inherited from interface software.amazon.awssdk.services.batch.model.BatchResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
serviceEnvironments
DescribeServiceEnvironmentsResponse.Builder serviceEnvironments(Collection<ServiceEnvironmentDetail> serviceEnvironments)
The list of service environments that match the request.
- Parameters:
serviceEnvironments- The list of service environments that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceEnvironments
DescribeServiceEnvironmentsResponse.Builder serviceEnvironments(ServiceEnvironmentDetail... serviceEnvironments)
The list of service environments that match the request.
- Parameters:
serviceEnvironments- The list of service environments that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceEnvironments
DescribeServiceEnvironmentsResponse.Builder serviceEnvironments(Consumer<ServiceEnvironmentDetail.Builder>... serviceEnvironments)
The list of service environments that match the request.
This is a convenience method that creates an instance of theServiceEnvironmentDetail.Builderavoiding the need to create one manually viaServiceEnvironmentDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#serviceEnvironments(List.) - Parameters:
serviceEnvironments- a consumer that will call methods onServiceEnvironmentDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#serviceEnvironments(java.util.Collection)
-
nextToken
DescribeServiceEnvironmentsResponse.Builder nextToken(String nextToken)
The
nextTokenvalue to include in a futureDescribeServiceEnvironmentsrequest. When the results of aDescribeServiceEnvironmentsrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureDescribeServiceEnvironmentsrequest. When the results of aDescribeServiceEnvironmentsrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-