@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 representing the compatibilities of a version.
|
Boolean |
getRequiresConfiguration()
Whether the add-on requires configuration.
|
int |
hashCode() |
Boolean |
isRequiresConfiguration()
Whether the add-on requires configuration.
|
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 representing the compatibilities of a version.
|
void |
setRequiresConfiguration(Boolean requiresConfiguration)
Whether the add-on requires configuration.
|
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 representing the compatibilities of a version.
|
AddonVersionInfo |
withCompatibilities(Compatibility... compatibilities)
An object representing the compatibilities of a version.
|
AddonVersionInfo |
withRequiresConfiguration(Boolean requiresConfiguration)
Whether the add-on requires configuration.
|
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 representing the compatibilities of a version.
public void setCompatibilities(Collection<Compatibility> compatibilities)
An object representing the compatibilities of a version.
compatibilities
- An object representing the compatibilities of a version.public AddonVersionInfo withCompatibilities(Compatibility... compatibilities)
An object representing 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 representing the compatibilities of a version.public AddonVersionInfo withCompatibilities(Collection<Compatibility> compatibilities)
An object representing the compatibilities of a version.
compatibilities
- An object representing the compatibilities of a version.public void setRequiresConfiguration(Boolean requiresConfiguration)
Whether the add-on requires configuration.
requiresConfiguration
- Whether the add-on requires configuration.public Boolean getRequiresConfiguration()
Whether the add-on requires configuration.
public AddonVersionInfo withRequiresConfiguration(Boolean requiresConfiguration)
Whether the add-on requires configuration.
requiresConfiguration
- Whether the add-on requires configuration.public Boolean isRequiresConfiguration()
Whether the add-on requires configuration.
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.