Interface ListEnvironmentTemplatesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListEnvironmentTemplatesResponse.Builder,ListEnvironmentTemplatesResponse>,ProtonResponse.Builder,SdkBuilder<ListEnvironmentTemplatesResponse.Builder,ListEnvironmentTemplatesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListEnvironmentTemplatesResponse
public static interface ListEnvironmentTemplatesResponse.Builder extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<ListEnvironmentTemplatesResponse.Builder,ListEnvironmentTemplatesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListEnvironmentTemplatesResponse.BuildernextToken(String nextToken)A token that indicates the location of the next environment template in the array of environment templates, after the current requested list of environment templates.ListEnvironmentTemplatesResponse.Buildertemplates(Collection<EnvironmentTemplateSummary> templates)An array of environment templates with detail data.ListEnvironmentTemplatesResponse.Buildertemplates(Consumer<EnvironmentTemplateSummary.Builder>... templates)An array of environment templates with detail data.ListEnvironmentTemplatesResponse.Buildertemplates(EnvironmentTemplateSummary... templates)An array of environment templates with detail data.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.proton.model.ProtonResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListEnvironmentTemplatesResponse.Builder nextToken(String nextToken)
A token that indicates the location of the next environment template in the array of environment templates, after the current requested list of environment templates.
- Parameters:
nextToken- A token that indicates the location of the next environment template in the array of environment templates, after the current requested list of environment templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templates
ListEnvironmentTemplatesResponse.Builder templates(Collection<EnvironmentTemplateSummary> templates)
An array of environment templates with detail data.
- Parameters:
templates- An array of environment templates with detail data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templates
ListEnvironmentTemplatesResponse.Builder templates(EnvironmentTemplateSummary... templates)
An array of environment templates with detail data.
- Parameters:
templates- An array of environment templates with detail data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templates
ListEnvironmentTemplatesResponse.Builder templates(Consumer<EnvironmentTemplateSummary.Builder>... templates)
An array of environment templates with detail data.
This is a convenience method that creates an instance of theEnvironmentTemplateSummary.Builderavoiding the need to create one manually viaEnvironmentTemplateSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#templates(List.) - Parameters:
templates- a consumer that will call methods onEnvironmentTemplateSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#templates(java.util.Collection)
-
-