@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 for the current version of the component.
|
String |
getDateCreated()
The original creation date of the component.
|
String |
getDescription()
The description of the component.
|
String |
getName()
The name of the component.
|
Boolean |
getObfuscate()
Indicates whether component source is hidden from view in the console, and from component detail results for API,
CLI, or SDK operations.
|
String |
getOwner()
The owner of the component.
|
String |
getPlatform()
The operating system platform of the component.
|
String |
getPublisher()
Contains the name of the publisher if this is a third-party component.
|
ComponentState |
getState()
Describes the current status of the component.
|
List<String> |
getSupportedOsVersions()
The operating system (OS) version that the component supports.
|
Map<String,String> |
getTags()
The tags that apply to the component.
|
String |
getType()
The component type specifies whether Image Builder uses the component to build the image or only to test it.
|
String |
getVersion()
The version of the component.
|
int |
hashCode() |
Boolean |
isObfuscate()
Indicates whether component source is hidden from view in the console, and from component detail results for API,
CLI, or SDK operations.
|
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 for the current version of the component.
|
void |
setDateCreated(String dateCreated)
The original creation date of the component.
|
void |
setDescription(String description)
The description of the component.
|
void |
setName(String name)
The name of the component.
|
void |
setObfuscate(Boolean obfuscate)
Indicates whether component source is hidden from view in the console, and from component detail results for API,
CLI, or SDK operations.
|
void |
setOwner(String owner)
The owner of the component.
|
void |
setPlatform(String platform)
The operating system platform of the component.
|
void |
setPublisher(String publisher)
Contains the name of the publisher if this is a third-party component.
|
void |
setState(ComponentState state)
Describes the current status of the component.
|
void |
setSupportedOsVersions(Collection<String> supportedOsVersions)
The operating system (OS) version that the component supports.
|
void |
setTags(Map<String,String> tags)
The tags that apply to the component.
|
void |
setType(String type)
The component type specifies whether Image Builder uses the component 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 for the current version of the component.
|
ComponentSummary |
withDateCreated(String dateCreated)
The original creation date of the component.
|
ComponentSummary |
withDescription(String description)
The description of the component.
|
ComponentSummary |
withName(String name)
The name of the component.
|
ComponentSummary |
withObfuscate(Boolean obfuscate)
Indicates whether component source is hidden from view in the console, and from component detail results for API,
CLI, or SDK operations.
|
ComponentSummary |
withOwner(String owner)
The owner of the component.
|
ComponentSummary |
withPlatform(Platform platform)
The operating system platform of the component.
|
ComponentSummary |
withPlatform(String platform)
The operating system platform of the component.
|
ComponentSummary |
withPublisher(String publisher)
Contains the name of the publisher if this is a third-party component.
|
ComponentSummary |
withState(ComponentState state)
Describes the current status of the component.
|
ComponentSummary |
withSupportedOsVersions(Collection<String> supportedOsVersions)
The operating system (OS) version that the component supports.
|
ComponentSummary |
withSupportedOsVersions(String... supportedOsVersions)
The operating system (OS) version that the component supports.
|
ComponentSummary |
withTags(Map<String,String> tags)
The tags that apply to the component.
|
ComponentSummary |
withType(ComponentType type)
The component type specifies whether Image Builder uses the component to build the image or only to test it.
|
ComponentSummary |
withType(String type)
The component type specifies whether Image Builder uses the component 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 operating system platform of the component.
platform
- The operating system platform of the component.Platform
public String getPlatform()
The operating system platform of the component.
Platform
public ComponentSummary withPlatform(String platform)
The operating system platform of the component.
platform
- The operating system platform of the component.Platform
public ComponentSummary withPlatform(Platform platform)
The operating system platform of the component.
platform
- The operating system platform of the component.Platform
public List<String> getSupportedOsVersions()
The operating system (OS) version that the component supports. If the OS information is available, Image Builder performs a prefix match against the base image OS version during image recipe creation.
public void setSupportedOsVersions(Collection<String> supportedOsVersions)
The operating system (OS) version that the component supports. If the OS information is available, Image Builder performs a prefix match against the base image OS version during image recipe creation.
supportedOsVersions
- The operating system (OS) version that the component supports. If the OS information is available, Image
Builder performs a prefix match against the base image OS version during image recipe creation.public ComponentSummary withSupportedOsVersions(String... supportedOsVersions)
The operating system (OS) version that the component supports. If the OS information is available, Image Builder performs a prefix match 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 that the component supports. If the OS information is available, Image
Builder performs a prefix match against the base image OS version during image recipe creation.public ComponentSummary withSupportedOsVersions(Collection<String> supportedOsVersions)
The operating system (OS) version that the component supports. If the OS information is available, Image Builder performs a prefix match against the base image OS version during image recipe creation.
supportedOsVersions
- The operating system (OS) version that the component supports. If the OS information is available, Image
Builder performs a prefix match 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 component type specifies whether Image Builder uses the component to build the image or only to test it.
type
- The component type specifies whether Image Builder uses the component to build the image or only to test
it.ComponentType
public String getType()
The component type specifies whether Image Builder uses the component to build the image or only to test it.
ComponentType
public ComponentSummary withType(String type)
The component type specifies whether Image Builder uses the component to build the image or only to test it.
type
- The component type specifies whether Image Builder uses the component to build the image or only to test
it.ComponentType
public ComponentSummary withType(ComponentType type)
The component type specifies whether Image Builder uses the component to build the image or only to test it.
type
- The component type specifies whether Image Builder uses the component 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 for the current version of the component.
changeDescription
- The change description for the current version of the component.public String getChangeDescription()
The change description for the current version of the component.
public ComponentSummary withChangeDescription(String changeDescription)
The change description for the current version of the component.
changeDescription
- The change description for the current version of the component.public void setDateCreated(String dateCreated)
The original creation date of the component.
dateCreated
- The original creation date of the component.public String getDateCreated()
The original creation date of the component.
public ComponentSummary withDateCreated(String dateCreated)
The original creation date of the component.
dateCreated
- The original creation date of the component.public Map<String,String> getTags()
The tags that apply to the component.
public void setTags(Map<String,String> tags)
The tags that apply to the component.
tags
- The tags that apply to the component.public ComponentSummary withTags(Map<String,String> tags)
The tags that apply to the component.
tags
- The tags that apply to the component.public ComponentSummary addTagsEntry(String key, String value)
public ComponentSummary clearTagsEntries()
public void setPublisher(String publisher)
Contains the name of the publisher if this is a third-party component. Otherwise, this property is empty.
publisher
- Contains the name of the publisher if this is a third-party component. Otherwise, this property is empty.public String getPublisher()
Contains the name of the publisher if this is a third-party component. Otherwise, this property is empty.
public ComponentSummary withPublisher(String publisher)
Contains the name of the publisher if this is a third-party component. Otherwise, this property is empty.
publisher
- Contains the name of the publisher if this is a third-party component. Otherwise, this property is empty.public void setObfuscate(Boolean obfuscate)
Indicates whether component source is hidden from view in the console, and from component detail results for API, CLI, or SDK operations.
obfuscate
- Indicates whether component source is hidden from view in the console, and from component detail results
for API, CLI, or SDK operations.public Boolean getObfuscate()
Indicates whether component source is hidden from view in the console, and from component detail results for API, CLI, or SDK operations.
public ComponentSummary withObfuscate(Boolean obfuscate)
Indicates whether component source is hidden from view in the console, and from component detail results for API, CLI, or SDK operations.
obfuscate
- Indicates whether component source is hidden from view in the console, and from component detail results
for API, CLI, or SDK operations.public Boolean isObfuscate()
Indicates whether component source is hidden from view in the console, and from component detail results for API, CLI, or SDK operations.
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.