@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateComponentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CreateComponentRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateComponentRequest | addTagsEntry(String key,
            String value)Add a single Tags entry | 
| CreateComponentRequest | clearTagsEntries()Removes all the entries added into Tags. | 
| CreateComponentRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getChangeDescription()
 The change description of the component. | 
| String | getClientToken()
 The idempotency token of the component. | 
| String | getData()
 The data of the component. | 
| String | getDescription()
 The description of the component. | 
| String | getKmsKeyId()
 The ID of the KMS key that should be used to encrypt this component. | 
| String | getName()
 The name of the component. | 
| String | getPlatform()
 The platform of the component. | 
| String | getSemanticVersion()
 The semantic version of the component. | 
| List<String> | getSupportedOsVersions()
 The operating system (OS) version supported by the component. | 
| Map<String,String> | getTags()
 The tags of the component. | 
| String | getUri()
 The uri of the component. | 
| int | hashCode() | 
| void | setChangeDescription(String changeDescription)
 The change description of the component. | 
| void | setClientToken(String clientToken)
 The idempotency token of the component. | 
| void | setData(String data)
 The data of the component. | 
| void | setDescription(String description)
 The description of the component. | 
| void | setKmsKeyId(String kmsKeyId)
 The ID of the KMS key that should be used to encrypt this component. | 
| void | setName(String name)
 The name of the component. | 
| void | setPlatform(String platform)
 The platform of the component. | 
| void | setSemanticVersion(String semanticVersion)
 The semantic version 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 of the component. | 
| void | setUri(String uri)
 The uri of the component. | 
| String | toString()Returns a string representation of this object. | 
| CreateComponentRequest | withChangeDescription(String changeDescription)
 The change description of the component. | 
| CreateComponentRequest | withClientToken(String clientToken)
 The idempotency token of the component. | 
| CreateComponentRequest | withData(String data)
 The data of the component. | 
| CreateComponentRequest | withDescription(String description)
 The description of the component. | 
| CreateComponentRequest | withKmsKeyId(String kmsKeyId)
 The ID of the KMS key that should be used to encrypt this component. | 
| CreateComponentRequest | withName(String name)
 The name of the component. | 
| CreateComponentRequest | withPlatform(Platform platform)
 The platform of the component. | 
| CreateComponentRequest | withPlatform(String platform)
 The platform of the component. | 
| CreateComponentRequest | withSemanticVersion(String semanticVersion)
 The semantic version of the component. | 
| CreateComponentRequest | withSupportedOsVersions(Collection<String> supportedOsVersions)
 The operating system (OS) version supported by the component. | 
| CreateComponentRequest | withSupportedOsVersions(String... supportedOsVersions)
 The operating system (OS) version supported by the component. | 
| CreateComponentRequest | withTags(Map<String,String> tags)
 The tags of the component. | 
| CreateComponentRequest | withUri(String uri)
 The uri of the component. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The name of the component.
name - The name of the component.public String getName()
The name of the component.
public CreateComponentRequest withName(String name)
The name of the component.
name - The name of the component.public void setSemanticVersion(String semanticVersion)
The semantic version of the component. This version follows the semantic version syntax. For example, major.minor.patch. This could be versioned like software (2.0.1) or like a date (2019.12.01).
semanticVersion - The semantic version of the component. This version follows the semantic version syntax. For example,
        major.minor.patch. This could be versioned like software (2.0.1) or like a date (2019.12.01).public String getSemanticVersion()
The semantic version of the component. This version follows the semantic version syntax. For example, major.minor.patch. This could be versioned like software (2.0.1) or like a date (2019.12.01).
public CreateComponentRequest withSemanticVersion(String semanticVersion)
The semantic version of the component. This version follows the semantic version syntax. For example, major.minor.patch. This could be versioned like software (2.0.1) or like a date (2019.12.01).
semanticVersion - The semantic version of the component. This version follows the semantic version syntax. For example,
        major.minor.patch. This could be versioned like software (2.0.1) or like a date (2019.12.01).public void setDescription(String description)
The description of the component. Describes the contents of the component.
description - The description of the component. Describes the contents of the component.public String getDescription()
The description of the component. Describes the contents of the component.
public CreateComponentRequest withDescription(String description)
The description of the component. Describes the contents of the component.
description - The description of the component. Describes the contents of the component.public void setChangeDescription(String changeDescription)
The change description of the component. Describes what change has been made in this version, or what makes this version different from other versions of this component.
changeDescription - The change description of the component. Describes what change has been made in this version, or what
        makes this version different from other versions of this component.public String getChangeDescription()
The change description of the component. Describes what change has been made in this version, or what makes this version different from other versions of this component.
public CreateComponentRequest withChangeDescription(String changeDescription)
The change description of the component. Describes what change has been made in this version, or what makes this version different from other versions of this component.
changeDescription - The change description of the component. Describes what change has been made in this version, or what
        makes this version different from other versions of this component.public void setPlatform(String platform)
The platform of the component.
platform - The platform of the component.Platformpublic String getPlatform()
The platform of the component.
Platformpublic CreateComponentRequest withPlatform(String platform)
The platform of the component.
platform - The platform of the component.Platformpublic CreateComponentRequest withPlatform(Platform platform)
The platform of the component.
platform - The platform of the component.Platformpublic 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 parent 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 parent 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 parent image OS version during image recipe creation.public CreateComponentRequest 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 parent 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 parent image OS version during image recipe creation.public CreateComponentRequest 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 parent 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 parent image OS version during image recipe creation.public void setData(String data)
 The data of the component. Used to specify the data inline. Either data or uri can be
 used to specify the data within the component.
 
data - The data of the component. Used to specify the data inline. Either data or uri
        can be used to specify the data within the component.public String getData()
 The data of the component. Used to specify the data inline. Either data or uri can be
 used to specify the data within the component.
 
data or uri
         can be used to specify the data within the component.public CreateComponentRequest withData(String data)
 The data of the component. Used to specify the data inline. Either data or uri can be
 used to specify the data within the component.
 
data - The data of the component. Used to specify the data inline. Either data or uri
        can be used to specify the data within the component.public void setUri(String uri)
 The uri of the component. Must be an S3 URL and the requester must have permission to access the S3 bucket. If
 you use S3, you can specify component content up to your service quota. Either data or
 uri can be used to specify the data within the component.
 
uri - The uri of the component. Must be an S3 URL and the requester must have permission to access the S3
        bucket. If you use S3, you can specify component content up to your service quota. Either
        data or uri can be used to specify the data within the component.public String getUri()
 The uri of the component. Must be an S3 URL and the requester must have permission to access the S3 bucket. If
 you use S3, you can specify component content up to your service quota. Either data or
 uri can be used to specify the data within the component.
 
data or uri can be used to specify the data within the component.public CreateComponentRequest withUri(String uri)
 The uri of the component. Must be an S3 URL and the requester must have permission to access the S3 bucket. If
 you use S3, you can specify component content up to your service quota. Either data or
 uri can be used to specify the data within the component.
 
uri - The uri of the component. Must be an S3 URL and the requester must have permission to access the S3
        bucket. If you use S3, you can specify component content up to your service quota. Either
        data or uri can be used to specify the data within the component.public void setKmsKeyId(String kmsKeyId)
The ID of the KMS key that should be used to encrypt this component.
kmsKeyId - The ID of the KMS key that should be used to encrypt this component.public String getKmsKeyId()
The ID of the KMS key that should be used to encrypt this component.
public CreateComponentRequest withKmsKeyId(String kmsKeyId)
The ID of the KMS key that should be used to encrypt this component.
kmsKeyId - The ID of the KMS key that should be used to encrypt this component.public Map<String,String> getTags()
The tags of the component.
public void setTags(Map<String,String> tags)
The tags of the component.
tags - The tags of the component.public CreateComponentRequest withTags(Map<String,String> tags)
The tags of the component.
tags - The tags of the component.public CreateComponentRequest addTagsEntry(String key, String value)
public CreateComponentRequest clearTagsEntries()
public void setClientToken(String clientToken)
The idempotency token of the component.
clientToken - The idempotency token of the component.public String getClientToken()
The idempotency token of the component.
public CreateComponentRequest withClientToken(String clientToken)
The idempotency token of the component.
clientToken - The idempotency token of the component.public String toString()
toString in class ObjectObject.toString()public CreateComponentRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()