Class OSRelease
- java.lang.Object
-
- software.amazon.awssdk.services.emr.model.OSRelease
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OSRelease.Builder,OSRelease>
@Generated("software.amazon.awssdk:codegen") public final class OSRelease extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OSRelease.Builder,OSRelease>
The Amazon Linux release specified for a cluster in the RunJobFlow request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOSRelease.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OSRelease.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringlabel()The Amazon Linux release specified for a cluster in the RunJobFlow request.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends OSRelease.Builder>serializableBuilderClass()OSRelease.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
label
public final String label()
The Amazon Linux release specified for a cluster in the RunJobFlow request. The format is as shown in Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
- Returns:
- The Amazon Linux release specified for a cluster in the RunJobFlow request. The format is as shown in Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
-
toBuilder
public OSRelease.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OSRelease.Builder,OSRelease>
-
builder
public static OSRelease.Builder builder()
-
serializableBuilderClass
public static Class<? extends OSRelease.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-