@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentLatestVersion extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the latest version of a component.
Constructor and Description |
---|
ComponentLatestVersion() |
Modifier and Type | Method and Description |
---|---|
ComponentLatestVersion |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the component
version.
|
String |
getComponentVersion()
The version of the component.
|
Date |
getCreationTimestamp()
The time at which the component was created, expressed in ISO 8601 format.
|
String |
getDescription()
The description of the component version.
|
List<ComponentPlatform> |
getPlatforms()
The platforms that the component version supports.
|
String |
getPublisher()
The publisher of the component version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the component
version.
|
void |
setComponentVersion(String componentVersion)
The version of the component.
|
void |
setCreationTimestamp(Date creationTimestamp)
The time at which the component was created, expressed in ISO 8601 format.
|
void |
setDescription(String description)
The description of the component version.
|
void |
setPlatforms(Collection<ComponentPlatform> platforms)
The platforms that the component version supports.
|
void |
setPublisher(String publisher)
The publisher of the component version.
|
String |
toString()
Returns a string representation of this object.
|
ComponentLatestVersion |
withArn(String arn)
The ARN of the component
version.
|
ComponentLatestVersion |
withComponentVersion(String componentVersion)
The version of the component.
|
ComponentLatestVersion |
withCreationTimestamp(Date creationTimestamp)
The time at which the component was created, expressed in ISO 8601 format.
|
ComponentLatestVersion |
withDescription(String description)
The description of the component version.
|
ComponentLatestVersion |
withPlatforms(Collection<ComponentPlatform> platforms)
The platforms that the component version supports.
|
ComponentLatestVersion |
withPlatforms(ComponentPlatform... platforms)
The platforms that the component version supports.
|
ComponentLatestVersion |
withPublisher(String publisher)
The publisher of the component version.
|
public void setArn(String arn)
The ARN of the component version.
arn
- The ARN of the
component version.public String getArn()
The ARN of the component version.
public ComponentLatestVersion withArn(String arn)
The ARN of the component version.
arn
- The ARN of the
component version.public void setComponentVersion(String componentVersion)
The version of the component.
componentVersion
- The version of the component.public String getComponentVersion()
The version of the component.
public ComponentLatestVersion withComponentVersion(String componentVersion)
The version of the component.
componentVersion
- The version of the component.public void setCreationTimestamp(Date creationTimestamp)
The time at which the component was created, expressed in ISO 8601 format.
creationTimestamp
- The time at which the component was created, expressed in ISO 8601 format.public Date getCreationTimestamp()
The time at which the component was created, expressed in ISO 8601 format.
public ComponentLatestVersion withCreationTimestamp(Date creationTimestamp)
The time at which the component was created, expressed in ISO 8601 format.
creationTimestamp
- The time at which the component was created, expressed in ISO 8601 format.public void setDescription(String description)
The description of the component version.
description
- The description of the component version.public String getDescription()
The description of the component version.
public ComponentLatestVersion withDescription(String description)
The description of the component version.
description
- The description of the component version.public void setPublisher(String publisher)
The publisher of the component version.
publisher
- The publisher of the component version.public String getPublisher()
The publisher of the component version.
public ComponentLatestVersion withPublisher(String publisher)
The publisher of the component version.
publisher
- The publisher of the component version.public List<ComponentPlatform> getPlatforms()
The platforms that the component version supports.
public void setPlatforms(Collection<ComponentPlatform> platforms)
The platforms that the component version supports.
platforms
- The platforms that the component version supports.public ComponentLatestVersion withPlatforms(ComponentPlatform... platforms)
The platforms that the component version supports.
NOTE: This method appends the values to the existing list (if any). Use
setPlatforms(java.util.Collection)
or withPlatforms(java.util.Collection)
if you want to
override the existing values.
platforms
- The platforms that the component version supports.public ComponentLatestVersion withPlatforms(Collection<ComponentPlatform> platforms)
The platforms that the component version supports.
platforms
- The platforms that the component version supports.public String toString()
toString
in class Object
Object.toString()
public ComponentLatestVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.