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