Interface DescribeServiceEnvironmentsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BatchRequest.Builder,Buildable,CopyableBuilder<DescribeServiceEnvironmentsRequest.Builder,,DescribeServiceEnvironmentsRequest> SdkBuilder<DescribeServiceEnvironmentsRequest.Builder,,DescribeServiceEnvironmentsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeServiceEnvironmentsRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of results returned byDescribeServiceEnvironmentsin paginated output.ThenextTokenvalue returned from a previous paginatedDescribeServiceEnvironmentsrequest wheremaxResultswas used and the results exceeded the value of that parameter.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceEnvironments(String... serviceEnvironments) An array of service environment names or ARN entries.serviceEnvironments(Collection<String> serviceEnvironments) An array of service environment names or ARN entries.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.batch.model.BatchRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
serviceEnvironments
DescribeServiceEnvironmentsRequest.Builder serviceEnvironments(Collection<String> serviceEnvironments) An array of service environment names or ARN entries.
- Parameters:
serviceEnvironments- An array of service environment names or ARN entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceEnvironments
An array of service environment names or ARN entries.
- Parameters:
serviceEnvironments- An array of service environment names or ARN entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results returned by
DescribeServiceEnvironmentsin paginated output. When this parameter is used,DescribeServiceEnvironmentsonly returnsmaxResultsresults in a single page and anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherDescribeServiceEnvironmentsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter isn't used, thenDescribeServiceEnvironmentsreturns up to 100 results and anextTokenvalue if applicable.- Parameters:
maxResults- The maximum number of results returned byDescribeServiceEnvironmentsin paginated output. When this parameter is used,DescribeServiceEnvironmentsonly returnsmaxResultsresults in a single page and anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherDescribeServiceEnvironmentsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter isn't used, thenDescribeServiceEnvironmentsreturns up to 100 results and anextTokenvalue if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The
nextTokenvalue returned from a previous paginatedDescribeServiceEnvironmentsrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
- Parameters:
nextToken- ThenextTokenvalue returned from a previous paginatedDescribeServiceEnvironmentsrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeServiceEnvironmentsRequest.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
DescribeServiceEnvironmentsRequest.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.
-