@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OptionVersion extends Object implements Serializable, Cloneable
The version for an option. Option group option versions are returned by the DescribeOptionGroupOptions
action.
Constructor and Description |
---|
OptionVersion() |
Modifier and Type | Method and Description |
---|---|
OptionVersion |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsDefault()
Indicates whether the version is the default version of the option.
|
String |
getVersion()
The version of the option.
|
int |
hashCode() |
Boolean |
isDefault()
Indicates whether the version is the default version of the option.
|
void |
setIsDefault(Boolean isDefault)
Indicates whether the version is the default version of the option.
|
void |
setVersion(String version)
The version of the option.
|
String |
toString()
Returns a string representation of this object.
|
OptionVersion |
withIsDefault(Boolean isDefault)
Indicates whether the version is the default version of the option.
|
OptionVersion |
withVersion(String version)
The version of the option.
|
public void setVersion(String version)
The version of the option.
version
- The version of the option.public String getVersion()
The version of the option.
public OptionVersion withVersion(String version)
The version of the option.
version
- The version of the option.public void setIsDefault(Boolean isDefault)
Indicates whether the version is the default version of the option.
isDefault
- Indicates whether the version is the default version of the option.public Boolean getIsDefault()
Indicates whether the version is the default version of the option.
public OptionVersion withIsDefault(Boolean isDefault)
Indicates whether the version is the default version of the option.
isDefault
- Indicates whether the version is the default version of the option.public Boolean isDefault()
Indicates whether the version is the default version of the option.
public String toString()
toString
in class Object
Object.toString()
public OptionVersion clone()