Class ListReleaseLabelsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.emr.model.EmrRequest
-
- software.amazon.awssdk.services.emr.model.ListReleaseLabelsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListReleaseLabelsRequest.Builder,ListReleaseLabelsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListReleaseLabelsRequest extends EmrRequest implements ToCopyableBuilder<ListReleaseLabelsRequest.Builder,ListReleaseLabelsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListReleaseLabelsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListReleaseLabelsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ReleaseLabelFilterfilters()Filters the results of the request.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()Defines the maximum number of release labels to return in a single response.StringnextToken()Specifies the next page of results.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListReleaseLabelsRequest.Builder>serializableBuilderClass()ListReleaseLabelsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
filters
public final ReleaseLabelFilter filters()
Filters the results of the request.
Prefixspecifies the prefix of release labels to return.Applicationspecifies the application (with/without version) of release labels to return.- Returns:
- Filters the results of the request.
Prefixspecifies the prefix of release labels to return.Applicationspecifies the application (with/without version) of release labels to return.
-
nextToken
public final String nextToken()
Specifies the next page of results. If
NextTokenis not specified, which is usually the case for the first request of ListReleaseLabels, the first page of results are determined by other filtering parameters or by the latest version. TheListReleaseLabelsrequest fails if the identity (Amazon Web Services account ID) and all filtering parameters are different from the original request, or if theNextTokenis expired or tampered with.- Returns:
- Specifies the next page of results. If
NextTokenis not specified, which is usually the case for the first request of ListReleaseLabels, the first page of results are determined by other filtering parameters or by the latest version. TheListReleaseLabelsrequest fails if the identity (Amazon Web Services account ID) and all filtering parameters are different from the original request, or if theNextTokenis expired or tampered with.
-
maxResults
public final Integer maxResults()
Defines the maximum number of release labels to return in a single response. The default is
100.- Returns:
- Defines the maximum number of release labels to return in a single response. The default is
100.
-
toBuilder
public ListReleaseLabelsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListReleaseLabelsRequest.Builder,ListReleaseLabelsRequest>- Specified by:
toBuilderin classEmrRequest
-
builder
public static ListReleaseLabelsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListReleaseLabelsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-