@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Component extends Object implements Serializable, Cloneable, StructuredPojo
A detailed view of a component.
Constructor and Description |
---|
Component() |
Modifier and Type | Method and Description |
---|---|
Component |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Component |
clearTagsEntries()
Removes all the entries added into Tags.
|
Component |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the component.
|
String |
getChangeDescription()
The change description of the component.
|
String |
getData()
Component data contains the YAML document content for the component.
|
String |
getDateCreated()
The date that the component was created.
|
String |
getDescription()
The description of the component.
|
Boolean |
getEncrypted()
The encryption status of the component.
|
String |
getKmsKeyId()
The KMS key identifier used to encrypt the component.
|
String |
getName()
The name of the component.
|
String |
getOwner()
The owner of the component.
|
List<ComponentParameterDetail> |
getParameters()
Contains parameter details for each of the parameters that are defined for 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() |
Boolean |
isEncrypted()
The encryption status of the component.
|
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 |
setData(String data)
Component data contains the YAML document content for the component.
|
void |
setDateCreated(String dateCreated)
The date that the component was created.
|
void |
setDescription(String description)
The description of the component.
|
void |
setEncrypted(Boolean encrypted)
The encryption status of the component.
|
void |
setKmsKeyId(String kmsKeyId)
The KMS key identifier used to encrypt the component.
|
void |
setName(String name)
The name of the component.
|
void |
setOwner(String owner)
The owner of the component.
|
void |
setParameters(Collection<ComponentParameterDetail> parameters)
Contains parameter details for each of the parameters that are defined for 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.
|
Component |
withArn(String arn)
The Amazon Resource Name (ARN) of the component.
|
Component |
withChangeDescription(String changeDescription)
The change description of the component.
|
Component |
withData(String data)
Component data contains the YAML document content for the component.
|
Component |
withDateCreated(String dateCreated)
The date that the component was created.
|
Component |
withDescription(String description)
The description of the component.
|
Component |
withEncrypted(Boolean encrypted)
The encryption status of the component.
|
Component |
withKmsKeyId(String kmsKeyId)
The KMS key identifier used to encrypt the component.
|
Component |
withName(String name)
The name of the component.
|
Component |
withOwner(String owner)
The owner of the component.
|
Component |
withParameters(Collection<ComponentParameterDetail> parameters)
Contains parameter details for each of the parameters that are defined for the component.
|
Component |
withParameters(ComponentParameterDetail... parameters)
Contains parameter details for each of the parameters that are defined for the component.
|
Component |
withPlatform(Platform platform)
The platform of the component.
|
Component |
withPlatform(String platform)
The platform of the component.
|
Component |
withState(ComponentState state)
Describes the current status of the component.
|
Component |
withSupportedOsVersions(Collection<String> supportedOsVersions)
The operating system (OS) version supported by the component.
|
Component |
withSupportedOsVersions(String... supportedOsVersions)
The operating system (OS) version supported by the component.
|
Component |
withTags(Map<String,String> tags)
The tags associated with the component.
|
Component |
withType(ComponentType type)
The type of the component denotes whether the component is used to build the image or only to test it.
|
Component |
withType(String type)
The type of the component denotes whether the component is used to build the image or only to test it.
|
Component |
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 Component 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 Component 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 Component withVersion(String version)
The version of the component.
version
- The version 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 Component 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 Component withChangeDescription(String changeDescription)
The change description of the component.
changeDescription
- The change description 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 Component 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 Component 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 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 Component withPlatform(String platform)
The platform of the component.
platform
- The platform of the component.Platform
public Component 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 Component 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 Component 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. This is used for components that are no longer active.
state
- Describes the current status of the component. This is used for components that are no longer active.public ComponentState getState()
Describes the current status of the component. This is used for components that are no longer active.
public Component withState(ComponentState state)
Describes the current status of the component. This is used for components that are no longer active.
state
- Describes the current status of the component. This is used for components that are no longer active.public List<ComponentParameterDetail> getParameters()
Contains parameter details for each of the parameters that are defined for the component.
public void setParameters(Collection<ComponentParameterDetail> parameters)
Contains parameter details for each of the parameters that are defined for the component.
parameters
- Contains parameter details for each of the parameters that are defined for the component.public Component withParameters(ComponentParameterDetail... parameters)
Contains parameter details for each of the parameters that are defined for the component.
NOTE: This method appends the values to the existing list (if any). Use
setParameters(java.util.Collection)
or withParameters(java.util.Collection)
if you want to
override the existing values.
parameters
- Contains parameter details for each of the parameters that are defined for the component.public Component withParameters(Collection<ComponentParameterDetail> parameters)
Contains parameter details for each of the parameters that are defined for the component.
parameters
- Contains parameter details for each of the parameters that are defined for the component.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 Component withOwner(String owner)
The owner of the component.
owner
- The owner of the component.public void setData(String data)
Component data contains the YAML document content for the component.
data
- Component data contains the YAML document content for the component.public String getData()
Component data contains the YAML document content for the component.
public Component withData(String data)
Component data contains the YAML document content for the component.
data
- Component data contains the YAML document content for the component.public void setKmsKeyId(String kmsKeyId)
The KMS key identifier used to encrypt the component.
kmsKeyId
- The KMS key identifier used to encrypt the component.public String getKmsKeyId()
The KMS key identifier used to encrypt the component.
public Component withKmsKeyId(String kmsKeyId)
The KMS key identifier used to encrypt the component.
kmsKeyId
- The KMS key identifier used to encrypt the component.public void setEncrypted(Boolean encrypted)
The encryption status of the component.
encrypted
- The encryption status of the component.public Boolean getEncrypted()
The encryption status of the component.
public Component withEncrypted(Boolean encrypted)
The encryption status of the component.
encrypted
- The encryption status of the component.public Boolean isEncrypted()
The encryption status 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 Component 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 Component withTags(Map<String,String> tags)
The tags associated with the component.
tags
- The tags associated with the component.public Component clearTagsEntries()
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.