@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentVersionListItem extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a component version in a list.
Constructor and Description |
---|
ComponentVersionListItem() |
Modifier and Type | Method and Description |
---|---|
ComponentVersionListItem |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the component
version.
|
String |
getComponentName()
The name of the component.
|
String |
getComponentVersion()
The version of the component.
|
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 |
setComponentName(String componentName)
The name of the component.
|
void |
setComponentVersion(String componentVersion)
The version of the component.
|
String |
toString()
Returns a string representation of this object.
|
ComponentVersionListItem |
withArn(String arn)
The ARN of the component
version.
|
ComponentVersionListItem |
withComponentName(String componentName)
The name of the component.
|
ComponentVersionListItem |
withComponentVersion(String componentVersion)
The version of the component.
|
public void setComponentName(String componentName)
The name of the component.
componentName
- The name of the component.public String getComponentName()
The name of the component.
public ComponentVersionListItem withComponentName(String componentName)
The name of the component.
componentName
- The name of the component.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 ComponentVersionListItem withComponentVersion(String componentVersion)
The version of the component.
componentVersion
- The version of the component.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 ComponentVersionListItem withArn(String arn)
The ARN of the component version.
arn
- The ARN of the
component version.public String toString()
toString
in class Object
Object.toString()
public ComponentVersionListItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.