Interface ListEnvironmentsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListEnvironmentsRequest.Builder,ListEnvironmentsRequest>,ProtonRequest.Builder,SdkBuilder<ListEnvironmentsRequest.Builder,ListEnvironmentsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListEnvironmentsRequest
public static interface ListEnvironmentsRequest.Builder extends ProtonRequest.Builder, SdkPojo, CopyableBuilder<ListEnvironmentsRequest.Builder,ListEnvironmentsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListEnvironmentsRequest.BuilderenvironmentTemplates(Collection<EnvironmentTemplateFilter> environmentTemplates)An array of the versions of the environment template.ListEnvironmentsRequest.BuilderenvironmentTemplates(Consumer<EnvironmentTemplateFilter.Builder>... environmentTemplates)An array of the versions of the environment template.ListEnvironmentsRequest.BuilderenvironmentTemplates(EnvironmentTemplateFilter... environmentTemplates)An array of the versions of the environment template.ListEnvironmentsRequest.BuildermaxResults(Integer maxResults)The maximum number of environments to list.ListEnvironmentsRequest.BuildernextToken(String nextToken)A token that indicates the location of the next environment in the array of environments, after the list of environments that was previously requested.ListEnvironmentsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListEnvironmentsRequest.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.proton.model.ProtonRequest.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
-
environmentTemplates
ListEnvironmentsRequest.Builder environmentTemplates(Collection<EnvironmentTemplateFilter> environmentTemplates)
An array of the versions of the environment template.
- Parameters:
environmentTemplates- An array of the versions of the environment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentTemplates
ListEnvironmentsRequest.Builder environmentTemplates(EnvironmentTemplateFilter... environmentTemplates)
An array of the versions of the environment template.
- Parameters:
environmentTemplates- An array of the versions of the environment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentTemplates
ListEnvironmentsRequest.Builder environmentTemplates(Consumer<EnvironmentTemplateFilter.Builder>... environmentTemplates)
An array of the versions of the environment template.
This is a convenience method that creates an instance of theEnvironmentTemplateFilter.Builderavoiding the need to create one manually viaEnvironmentTemplateFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#environmentTemplates(List.) - Parameters:
environmentTemplates- a consumer that will call methods onEnvironmentTemplateFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#environmentTemplates(java.util.Collection)
-
maxResults
ListEnvironmentsRequest.Builder maxResults(Integer maxResults)
The maximum number of environments to list.
- Parameters:
maxResults- The maximum number of environments to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListEnvironmentsRequest.Builder nextToken(String nextToken)
A token that indicates the location of the next environment in the array of environments, after the list of environments that was previously requested.
- Parameters:
nextToken- A token that indicates the location of the next environment in the array of environments, after the list of environments that was previously requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListEnvironmentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListEnvironmentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-