Interface ListJobTemplatesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListJobTemplatesResponse.Builder,ListJobTemplatesResponse>,EmrContainersResponse.Builder,SdkBuilder<ListJobTemplatesResponse.Builder,ListJobTemplatesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListJobTemplatesResponse
public static interface ListJobTemplatesResponse.Builder extends EmrContainersResponse.Builder, SdkPojo, CopyableBuilder<ListJobTemplatesResponse.Builder,ListJobTemplatesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListJobTemplatesResponse.BuildernextToken(String nextToken)This output displays the token for the next set of job templates.ListJobTemplatesResponse.Buildertemplates(Collection<JobTemplate> templates)This output lists information about the specified job templates.ListJobTemplatesResponse.Buildertemplates(Consumer<JobTemplate.Builder>... templates)This output lists information about the specified job templates.ListJobTemplatesResponse.Buildertemplates(JobTemplate... templates)This output lists information about the specified job templates.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.emrcontainers.model.EmrContainersResponse.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
-
templates
ListJobTemplatesResponse.Builder templates(Collection<JobTemplate> templates)
This output lists information about the specified job templates.
- Parameters:
templates- This output lists information about the specified job templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templates
ListJobTemplatesResponse.Builder templates(JobTemplate... templates)
This output lists information about the specified job templates.
- Parameters:
templates- This output lists information about the specified job templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templates
ListJobTemplatesResponse.Builder templates(Consumer<JobTemplate.Builder>... templates)
This output lists information about the specified job templates.
This is a convenience method that creates an instance of theJobTemplate.Builderavoiding the need to create one manually viaJobTemplate.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 onJobTemplate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#templates(java.util.Collection)
-
nextToken
ListJobTemplatesResponse.Builder nextToken(String nextToken)
This output displays the token for the next set of job templates.
- Parameters:
nextToken- This output displays the token for the next set of job templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-