@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentVersion extends Object implements Serializable, Cloneable, StructuredPojo
Version information for agent components.
Constructor and Description |
---|
ComponentVersion() |
Modifier and Type | Method and Description |
---|---|
ComponentVersion |
clone() |
boolean |
equals(Object obj) |
String |
getComponentType()
Component type.
|
List<String> |
getVersions()
List of versions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComponentType(String componentType)
Component type.
|
void |
setVersions(Collection<String> versions)
List of versions.
|
String |
toString()
Returns a string representation of this object.
|
ComponentVersion |
withComponentType(String componentType)
Component type.
|
ComponentVersion |
withVersions(Collection<String> versions)
List of versions.
|
ComponentVersion |
withVersions(String... versions)
List of versions.
|
public void setComponentType(String componentType)
Component type.
componentType
- Component type.public String getComponentType()
Component type.
public ComponentVersion withComponentType(String componentType)
Component type.
componentType
- Component type.public void setVersions(Collection<String> versions)
List of versions.
versions
- List of versions.public ComponentVersion withVersions(String... versions)
List of versions.
NOTE: This method appends the values to the existing list (if any). Use
setVersions(java.util.Collection)
or withVersions(java.util.Collection)
if you want to override
the existing values.
versions
- List of versions.public ComponentVersion withVersions(Collection<String> versions)
List of versions.
versions
- List of versions.public String toString()
toString
in class Object
Object.toString()
public ComponentVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.