@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()
True if the version is the default version of the option; otherwise, false.
|
String |
getVersion()
The version of the option.
|
int |
hashCode() |
Boolean |
isDefault()
True if the version is the default version of the option; otherwise, false.
|
void |
setIsDefault(Boolean isDefault)
True if the version is the default version of the option; otherwise, false.
|
void |
setVersion(String version)
The version of the option.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
OptionVersion |
withIsDefault(Boolean isDefault)
True if the version is the default version of the option; otherwise, false.
|
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)
True if the version is the default version of the option; otherwise, false.
isDefault
- True if the version is the default version of the option; otherwise, false.public Boolean getIsDefault()
True if the version is the default version of the option; otherwise, false.
public OptionVersion withIsDefault(Boolean isDefault)
True if the version is the default version of the option; otherwise, false.
isDefault
- True if the version is the default version of the option; otherwise, false.public Boolean isDefault()
True if the version is the default version of the option; otherwise, false.
public String toString()
toString
in class Object
Object.toString()
public OptionVersion clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.