@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentSummary extends Object implements Serializable, Cloneable, StructuredPojo
A high-level summary of a component.
Constructor and Description |
---|
ComponentSummary() |
Modifier and Type | Method and Description |
---|---|
ComponentSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ComponentSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
ComponentSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the component.
|
String |
getChangeDescription()
The change description of the component.
|
String |
getDateCreated()
The date that the component was created.
|
String |
getDescription()
The description of the component.
|
String |
getName()
The name of the component.
|
String |
getOwner()
The owner of the component.
|
String |
getPlatform()
The platform of the component.
|
ComponentState |
getState()
Describes the current status of the component.
|
List<String> |
getSupportedOsVersions()
The operating system (OS) version supported by the component.
|
Map<String,String> |
getTags()
The tags associated with the component.
|
String |
getType()
The type of the component denotes whether the component is used to build the image or only to test it.
|
String |
getVersion()
The version of the component.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the component.
|
void |
setChangeDescription(String changeDescription)
The change description of the component.
|
void |
setDateCreated(String dateCreated)
The date that the component was created.
|
void |
setDescription(String description)
The description of the component.
|
void |
setName(String name)
The name of the component.
|
void |
setOwner(String owner)
The owner of the component.
|
void |
setPlatform(String platform)
The platform of the component.
|
void |
setState(ComponentState state)
Describes the current status of the component.
|
void |
setSupportedOsVersions(Collection<String> supportedOsVersions)
The operating system (OS) version supported by the component.
|
void |
setTags(Map<String,String> tags)
The tags associated with the component.
|
void |
setType(String type)
The type of the component denotes whether the component is used to build the image or only to test it.
|
void |
setVersion(String version)
The version of the component.
|
String |
toString()
Returns a string representation of this object.
|
ComponentSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the component.
|
ComponentSummary |
withChangeDescription(String changeDescription)
The change description of the component.
|
ComponentSummary |
withDateCreated(String dateCreated)
The date that the component was created.
|
ComponentSummary |
withDescription(String description)
The description of the component.
|
ComponentSummary |
withName(String name)
The name of the component.
|
ComponentSummary |
withOwner(String owner)
The owner of the component.
|
ComponentSummary |
withPlatform(Platform platform)
The platform of the component.
|
ComponentSummary |
withPlatform(String platform)
The platform of the component.
|
ComponentSummary |
withState(ComponentState state)
Describes the current status of the component.
|
ComponentSummary |
withSupportedOsVersions(Collection<String> supportedOsVersions)
The operating system (OS) version supported by the component.
|
ComponentSummary |
withSupportedOsVersions(String... supportedOsVersions)
The operating system (OS) version supported by the component.
|
ComponentSummary |
withTags(Map<String,String> tags)
The tags associated with the component.
|
ComponentSummary |
withType(ComponentType type)
The type of the component denotes whether the component is used to build the image or only to test it.
|
ComponentSummary |
withType(String type)
The type of the component denotes whether the component is used to build the image or only to test it.
|
ComponentSummary |
withVersion(String version)
The version of the component.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the component.
arn
- The Amazon Resource Name (ARN) of the component.public String getArn()
The Amazon Resource Name (ARN) of the component.
public ComponentSummary withArn(String arn)
The Amazon Resource Name (ARN) of the component.
arn
- The Amazon Resource Name (ARN) of the component.public void setName(String name)
The name of the component.
name
- The name of the component.public String getName()
The name of the component.
public ComponentSummary withName(String name)
The name of the component.
name
- The name of the component.public void setVersion(String version)
The version of the component.
version
- The version of the component.public String getVersion()
The version of the component.
public ComponentSummary withVersion(String version)
The version of the component.
version
- The version of the component.public void setPlatform(String platform)
The platform of the component.
platform
- The platform of the component.Platform
public String getPlatform()
The platform of the component.
Platform
public ComponentSummary withPlatform(String platform)
The platform of the component.
platform
- The platform of the component.Platform
public ComponentSummary withPlatform(Platform platform)
The platform of the component.
platform
- The platform of the component.Platform
public List<String> getSupportedOsVersions()
The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
public void setSupportedOsVersions(Collection<String> supportedOsVersions)
The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
supportedOsVersions
- The operating system (OS) version supported by the component. If the OS information is available, a prefix
match is performed against the base image OS version during image recipe creation.public ComponentSummary withSupportedOsVersions(String... supportedOsVersions)
The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedOsVersions(java.util.Collection)
or withSupportedOsVersions(java.util.Collection)
if you want to override the existing values.
supportedOsVersions
- The operating system (OS) version supported by the component. If the OS information is available, a prefix
match is performed against the base image OS version during image recipe creation.public ComponentSummary withSupportedOsVersions(Collection<String> supportedOsVersions)
The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
supportedOsVersions
- The operating system (OS) version supported by the component. If the OS information is available, a prefix
match is performed against the base image OS version during image recipe creation.public void setState(ComponentState state)
Describes the current status of the component.
state
- Describes the current status of the component.public ComponentState getState()
Describes the current status of the component.
public ComponentSummary withState(ComponentState state)
Describes the current status of the component.
state
- Describes the current status of the component.public void setType(String type)
The type of the component denotes whether the component is used to build the image or only to test it.
type
- The type of the component denotes whether the component is used to build the image or only to test it.ComponentType
public String getType()
The type of the component denotes whether the component is used to build the image or only to test it.
ComponentType
public ComponentSummary withType(String type)
The type of the component denotes whether the component is used to build the image or only to test it.
type
- The type of the component denotes whether the component is used to build the image or only to test it.ComponentType
public ComponentSummary withType(ComponentType type)
The type of the component denotes whether the component is used to build the image or only to test it.
type
- The type of the component denotes whether the component is used to build the image or only to test it.ComponentType
public void setOwner(String owner)
The owner of the component.
owner
- The owner of the component.public String getOwner()
The owner of the component.
public ComponentSummary withOwner(String owner)
The owner of the component.
owner
- The owner of the component.public void setDescription(String description)
The description of the component.
description
- The description of the component.public String getDescription()
The description of the component.
public ComponentSummary withDescription(String description)
The description of the component.
description
- The description of the component.public void setChangeDescription(String changeDescription)
The change description of the component.
changeDescription
- The change description of the component.public String getChangeDescription()
The change description of the component.
public ComponentSummary withChangeDescription(String changeDescription)
The change description of the component.
changeDescription
- The change description of the component.public void setDateCreated(String dateCreated)
The date that the component was created.
dateCreated
- The date that the component was created.public String getDateCreated()
The date that the component was created.
public ComponentSummary withDateCreated(String dateCreated)
The date that the component was created.
dateCreated
- The date that the component was created.public Map<String,String> getTags()
The tags associated with the component.
public void setTags(Map<String,String> tags)
The tags associated with the component.
tags
- The tags associated with the component.public ComponentSummary withTags(Map<String,String> tags)
The tags associated with the component.
tags
- The tags associated with the component.public ComponentSummary addTagsEntry(String key, String value)
public ComponentSummary clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public ComponentSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.