Interface DescribeReleaseLabelResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeReleaseLabelResponse.Builder,DescribeReleaseLabelResponse>,EmrResponse.Builder,SdkBuilder<DescribeReleaseLabelResponse.Builder,DescribeReleaseLabelResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeReleaseLabelResponse
public static interface DescribeReleaseLabelResponse.Builder extends EmrResponse.Builder, SdkPojo, CopyableBuilder<DescribeReleaseLabelResponse.Builder,DescribeReleaseLabelResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeReleaseLabelResponse.Builderapplications(Collection<SimplifiedApplication> applications)The list of applications available for the target release label.DescribeReleaseLabelResponse.Builderapplications(Consumer<SimplifiedApplication.Builder>... applications)The list of applications available for the target release label.DescribeReleaseLabelResponse.Builderapplications(SimplifiedApplication... applications)The list of applications available for the target release label.DescribeReleaseLabelResponse.BuilderavailableOSReleases(Collection<OSRelease> availableOSReleases)The list of available Amazon Linux release versions for an Amazon EMR release.DescribeReleaseLabelResponse.BuilderavailableOSReleases(Consumer<OSRelease.Builder>... availableOSReleases)The list of available Amazon Linux release versions for an Amazon EMR release.DescribeReleaseLabelResponse.BuilderavailableOSReleases(OSRelease... availableOSReleases)The list of available Amazon Linux release versions for an Amazon EMR release.DescribeReleaseLabelResponse.BuildernextToken(String nextToken)The pagination token.DescribeReleaseLabelResponse.BuilderreleaseLabel(String releaseLabel)The target release label described in the response.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.emr.model.EmrResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
releaseLabel
DescribeReleaseLabelResponse.Builder releaseLabel(String 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
DescribeReleaseLabelResponse.Builder applications(Collection<SimplifiedApplication> 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(SimplifiedApplication... 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 to#applications(List.) - 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:
#applications(java.util.Collection)
-
nextToken
DescribeReleaseLabelResponse.Builder nextToken(String 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
DescribeReleaseLabelResponse.Builder availableOSReleases(Collection<OSRelease> 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(OSRelease... 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 to#availableOSReleases(List.) - 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:
#availableOSReleases(java.util.Collection)
-
-