@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Option extends Object implements Serializable, Cloneable, StructuredPojo
Specifies an option value.
Constructor and Description |
---|
Option() |
Modifier and Type | Method and Description |
---|---|
Option |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
Specifies the description of the option.
|
String |
getLabel()
Specifies the label of the option.
|
String |
getValue()
Specifies the value of the option.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDescription(String description)
Specifies the description of the option.
|
void |
setLabel(String label)
Specifies the label of the option.
|
void |
setValue(String value)
Specifies the value of the option.
|
String |
toString()
Returns a string representation of this object.
|
Option |
withDescription(String description)
Specifies the description of the option.
|
Option |
withLabel(String label)
Specifies the label of the option.
|
Option |
withValue(String value)
Specifies the value of the option.
|
public void setValue(String value)
Specifies the value of the option.
value
- Specifies the value of the option.public String getValue()
Specifies the value of the option.
public Option withValue(String value)
Specifies the value of the option.
value
- Specifies the value of the option.public void setLabel(String label)
Specifies the label of the option.
label
- Specifies the label of the option.public String getLabel()
Specifies the label of the option.
public Option withLabel(String label)
Specifies the label of the option.
label
- Specifies the label of the option.public void setDescription(String description)
Specifies the description of the option.
description
- Specifies the description of the option.public String getDescription()
Specifies the description of the option.
public Option withDescription(String description)
Specifies the description of the option.
description
- Specifies the description of the option.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.