@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportComponentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| ImportComponentRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| ImportComponentRequest | addTagsEntry(String key,
            String value)Add a single Tags entry | 
| ImportComponentRequest | clearTagsEntries()Removes all the entries added into Tags. | 
| ImportComponentRequest | 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 | getFormat()
 The format of the resource that you want to import as a 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. | 
| Map<String,String> | getTags()
 The tags of 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 | 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 | setFormat(String format)
 The format of the resource that you want to import as a 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 | setTags(Map<String,String> tags)
 The tags of 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 | setUri(String uri)
 The uri of the component. | 
| String | toString()Returns a string representation of this object. | 
| ImportComponentRequest | withChangeDescription(String changeDescription)
 The change description of the component. | 
| ImportComponentRequest | withClientToken(String clientToken)
 The idempotency token of the component. | 
| ImportComponentRequest | withData(String data)
 The data of the component. | 
| ImportComponentRequest | withDescription(String description)
 The description of the component. | 
| ImportComponentRequest | withFormat(ComponentFormat format)
 The format of the resource that you want to import as a component. | 
| ImportComponentRequest | withFormat(String format)
 The format of the resource that you want to import as a component. | 
| ImportComponentRequest | withKmsKeyId(String kmsKeyId)
 The ID of the KMS key that should be used to encrypt this component. | 
| ImportComponentRequest | withName(String name)
 The name of the component. | 
| ImportComponentRequest | withPlatform(Platform platform)
 The platform of the component. | 
| ImportComponentRequest | withPlatform(String platform)
 The platform of the component. | 
| ImportComponentRequest | withSemanticVersion(String semanticVersion)
 The semantic version of the component. | 
| ImportComponentRequest | withTags(Map<String,String> tags)
 The tags of the component. | 
| ImportComponentRequest | withType(ComponentType type)
 The type of the component denotes whether the component is used to build the image or only to test it. | 
| ImportComponentRequest | withType(String type)
 The type of the component denotes whether the component is used to build the image or only to test it. | 
| ImportComponentRequest | 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 ImportComponentRequest 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 ImportComponentRequest 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 ImportComponentRequest 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 ImportComponentRequest 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 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.ComponentTypepublic String getType()
The type of the component denotes whether the component is used to build the image or only to test it.
ComponentTypepublic ImportComponentRequest 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.ComponentTypepublic ImportComponentRequest 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.ComponentTypepublic void setFormat(String format)
The format of the resource that you want to import as a component.
format - The format of the resource that you want to import as a component.ComponentFormatpublic String getFormat()
The format of the resource that you want to import as a component.
ComponentFormatpublic ImportComponentRequest withFormat(String format)
The format of the resource that you want to import as a component.
format - The format of the resource that you want to import as a component.ComponentFormatpublic ImportComponentRequest withFormat(ComponentFormat format)
The format of the resource that you want to import as a component.
format - The format of the resource that you want to import as a component.ComponentFormatpublic void setPlatform(String platform)
The platform of the component.
platform - The platform of the component.Platformpublic String getPlatform()
The platform of the component.
Platformpublic ImportComponentRequest withPlatform(String platform)
The platform of the component.
platform - The platform of the component.Platformpublic ImportComponentRequest withPlatform(Platform platform)
The platform of the component.
platform - The platform of the component.Platformpublic 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 ImportComponentRequest 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 ImportComponentRequest 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 ImportComponentRequest 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 ImportComponentRequest withTags(Map<String,String> tags)
The tags of the component.
tags - The tags of the component.public ImportComponentRequest addTagsEntry(String key, String value)
public ImportComponentRequest 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 ImportComponentRequest 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 ImportComponentRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()