Interface ListJobTemplatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListJobTemplatesResponse.Builder,,ListJobTemplatesResponse> EmrContainersResponse.Builder,SdkBuilder<ListJobTemplatesResponse.Builder,,ListJobTemplatesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListJobTemplatesResponse
@Mutable
@NotThreadSafe
public static interface ListJobTemplatesResponse.Builder
extends EmrContainersResponse.Builder, SdkPojo, CopyableBuilder<ListJobTemplatesResponse.Builder,ListJobTemplatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThis output displays the token for the next set of job templates.templates(Collection<JobTemplate> templates) This output lists information about the specified job templates.templates(Consumer<JobTemplate.Builder>... templates) This output lists information about the specified job templates.templates(JobTemplate... templates) This output lists information about the specified job templates.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.emrcontainers.model.EmrContainersResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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 totemplates(List<JobTemplate>).- 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:
-
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.
-