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.Builder
applications(Collection<SimplifiedApplication> applications)
The list of applications available for the target release label.DescribeReleaseLabelResponse.Builder
applications(Consumer<SimplifiedApplication.Builder>... applications)
The list of applications available for the target release label.DescribeReleaseLabelResponse.Builder
applications(SimplifiedApplication... applications)
The list of applications available for the target release label.DescribeReleaseLabelResponse.Builder
availableOSReleases(Collection<OSRelease> availableOSReleases)
The list of available Amazon Linux release versions for an Amazon EMR release.DescribeReleaseLabelResponse.Builder
availableOSReleases(Consumer<OSRelease.Builder>... availableOSReleases)
The list of available Amazon Linux release versions for an Amazon EMR release.DescribeReleaseLabelResponse.Builder
availableOSReleases(OSRelease... availableOSReleases)
The list of available Amazon Linux release versions for an Amazon EMR release.DescribeReleaseLabelResponse.Builder
nextToken(String nextToken)
The pagination token.DescribeReleaseLabelResponse.Builder
releaseLabel(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.
Name
is the name of the application.Version
is the concise version of the application.- Parameters:
applications
- The list of applications available for the target release label.Name
is the name of the application.Version
is 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.
Name
is the name of the application.Version
is the concise version of the application.- Parameters:
applications
- The list of applications available for the target release label.Name
is the name of the application.Version
is 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 theName
is the name of the application.Version
is the concise version of the application.SimplifiedApplication.Builder
avoiding the need to create one manually viaSimplifiedApplication.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaOSRelease.builder()
.When the
Consumer
completes,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
)
-
-