@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddonVersionInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about an add-on version.
Constructor and Description |
---|
AddonVersionInfo() |
Modifier and Type | Method and Description |
---|---|
AddonVersionInfo |
clone() |
boolean |
equals(Object obj) |
String |
getAddonVersion()
The version of the add-on.
|
List<String> |
getArchitecture()
The architectures that the version supports.
|
List<Compatibility> |
getCompatibilities()
An object that represents the compatibilities of a version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAddonVersion(String addonVersion)
The version of the add-on.
|
void |
setArchitecture(Collection<String> architecture)
The architectures that the version supports.
|
void |
setCompatibilities(Collection<Compatibility> compatibilities)
An object that represents the compatibilities of a version.
|
String |
toString()
Returns a string representation of this object.
|
AddonVersionInfo |
withAddonVersion(String addonVersion)
The version of the add-on.
|
AddonVersionInfo |
withArchitecture(Collection<String> architecture)
The architectures that the version supports.
|
AddonVersionInfo |
withArchitecture(String... architecture)
The architectures that the version supports.
|
AddonVersionInfo |
withCompatibilities(Collection<Compatibility> compatibilities)
An object that represents the compatibilities of a version.
|
AddonVersionInfo |
withCompatibilities(Compatibility... compatibilities)
An object that represents the compatibilities of a version.
|
public void setAddonVersion(String addonVersion)
The version of the add-on.
addonVersion
- The version of the add-on.public String getAddonVersion()
The version of the add-on.
public AddonVersionInfo withAddonVersion(String addonVersion)
The version of the add-on.
addonVersion
- The version of the add-on.public List<String> getArchitecture()
The architectures that the version supports.
public void setArchitecture(Collection<String> architecture)
The architectures that the version supports.
architecture
- The architectures that the version supports.public AddonVersionInfo withArchitecture(String... architecture)
The architectures that the version supports.
NOTE: This method appends the values to the existing list (if any). Use
setArchitecture(java.util.Collection)
or withArchitecture(java.util.Collection)
if you want to
override the existing values.
architecture
- The architectures that the version supports.public AddonVersionInfo withArchitecture(Collection<String> architecture)
The architectures that the version supports.
architecture
- The architectures that the version supports.public List<Compatibility> getCompatibilities()
An object that represents the compatibilities of a version.
public void setCompatibilities(Collection<Compatibility> compatibilities)
An object that represents the compatibilities of a version.
compatibilities
- An object that represents the compatibilities of a version.public AddonVersionInfo withCompatibilities(Compatibility... compatibilities)
An object that represents the compatibilities of a version.
NOTE: This method appends the values to the existing list (if any). Use
setCompatibilities(java.util.Collection)
or withCompatibilities(java.util.Collection)
if you
want to override the existing values.
compatibilities
- An object that represents the compatibilities of a version.public AddonVersionInfo withCompatibilities(Collection<Compatibility> compatibilities)
An object that represents the compatibilities of a version.
compatibilities
- An object that represents the compatibilities of a version.public String toString()
toString
in class Object
Object.toString()
public AddonVersionInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.