@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OSRelease extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon Linux release specified for a cluster in the RunJobFlow request.
| Constructor and Description | 
|---|
| OSRelease() | 
| Modifier and Type | Method and Description | 
|---|---|
| OSRelease | clone() | 
| boolean | equals(Object obj) | 
| String | getLabel()
 The Amazon Linux release specified for a cluster in the RunJobFlow request. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setLabel(String label)
 The Amazon Linux release specified for a cluster in the RunJobFlow request. | 
| String | toString()Returns a string representation of this object. | 
| OSRelease | withLabel(String label)
 The Amazon Linux release specified for a cluster in the RunJobFlow request. | 
public void setLabel(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.
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.public String getLabel()
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.
public OSRelease withLabel(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.
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.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.