Interface DescribeReleaseLabelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeReleaseLabelResponse.Builder,,DescribeReleaseLabelResponse> EmrResponse.Builder,SdkBuilder<DescribeReleaseLabelResponse.Builder,,DescribeReleaseLabelResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeReleaseLabelResponse
-
Method Summary
Modifier and TypeMethodDescriptionapplications(Collection<SimplifiedApplication> applications) The list of applications available for the target release label.applications(Consumer<SimplifiedApplication.Builder>... applications) The list of applications available for the target release label.applications(SimplifiedApplication... applications) The list of applications available for the target release label.availableOSReleases(Collection<OSRelease> availableOSReleases) The list of available Amazon Linux release versions for an Amazon EMR release.availableOSReleases(Consumer<OSRelease.Builder>... availableOSReleases) The list of available Amazon Linux release versions for an Amazon EMR release.availableOSReleases(OSRelease... availableOSReleases) The list of available Amazon Linux release versions for an Amazon EMR release.The pagination token.releaseLabel(String releaseLabel) The target release label described in the response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.emr.model.EmrResponse.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
-
releaseLabel
The target release label described in the response.
- Parameters:
releaseLabel- The target release label described in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applications
The list of applications available for the target release label.
Nameis the name of the application.Versionis the concise version of the application.- Parameters:
applications- The list of applications available for the target release label.Nameis the name of the application.Versionis the concise version of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applications
The list of applications available for the target release label.
Nameis the name of the application.Versionis the concise version of the application.- Parameters:
applications- The list of applications available for the target release label.Nameis the name of the application.Versionis the concise version of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applications
DescribeReleaseLabelResponse.Builder applications(Consumer<SimplifiedApplication.Builder>... applications) The list of applications available for the target release label.
This is a convenience method that creates an instance of theNameis the name of the application.Versionis the concise version of the application.SimplifiedApplication.Builderavoiding the need to create one manually viaSimplifiedApplication.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapplications(List<SimplifiedApplication>).- Parameters:
applications- a consumer that will call methods onSimplifiedApplication.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token. Reserved for future use. Currently set to null.
- Parameters:
nextToken- The pagination token. Reserved for future use. Currently set to null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availableOSReleases
The list of available Amazon Linux release versions for an Amazon EMR release. Contains a Label field that is formatted as shown in Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
- Parameters:
availableOSReleases- The list of available Amazon Linux release versions for an Amazon EMR release. Contains a Label field that is formatted as shown in Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availableOSReleases
The list of available Amazon Linux release versions for an Amazon EMR release. Contains a Label field that is formatted as shown in Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
- Parameters:
availableOSReleases- The list of available Amazon Linux release versions for an Amazon EMR release. Contains a Label field that is formatted as shown in Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availableOSReleases
DescribeReleaseLabelResponse.Builder availableOSReleases(Consumer<OSRelease.Builder>... availableOSReleases) The list of available Amazon Linux release versions for an Amazon EMR release. Contains a Label field that is formatted as shown in Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
This is a convenience method that creates an instance of theOSRelease.Builderavoiding the need to create one manually viaOSRelease.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toavailableOSReleases(List<OSRelease>).- Parameters:
availableOSReleases- a consumer that will call methods onOSRelease.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-