@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()
Unique, case-sensitive identifier you provide to ensure idempotency of the request.
|
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)
Unique, case-sensitive identifier you provide to ensure idempotency of the request.
|
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)
Unique, case-sensitive identifier you provide to ensure idempotency of the request.
|
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, withSdkRequestTimeout
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 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.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
semanticVersion
- The semantic version of the component. This version follows the semantic version syntax. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
public String getSemanticVersion()
The semantic version of the component. This version follows the semantic version syntax.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
public ImportComponentRequest withSemanticVersion(String semanticVersion)
The semantic version of the component. This version follows the semantic version syntax.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
semanticVersion
- The semantic version of the component. This version follows the semantic version syntax. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
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. This description indicates the change that has been made in this version, or what makes this version different from other versions of the component.
changeDescription
- The change description of the component. This description indicates the change that has been made in this
version, or what makes this version different from other versions of the component.public String getChangeDescription()
The change description of the component. This description indicates the change that has been made in this version, or what makes this version different from other versions of the component.
public ImportComponentRequest withChangeDescription(String changeDescription)
The change description of the component. This description indicates the change that has been made in this version, or what makes this version different from other versions of the component.
changeDescription
- The change description of the component. This description indicates the change that has been made in this
version, or what makes this version different from other versions 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 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.ComponentType
public 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.ComponentType
public 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.ComponentFormat
public String getFormat()
The format of the resource that you want to import as a component.
ComponentFormat
public 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.ComponentFormat
public 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.ComponentFormat
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 ImportComponentRequest withPlatform(String platform)
The platform of the component.
platform
- The platform of the component.Platform
public ImportComponentRequest withPlatform(Platform platform)
The platform of the component.
platform
- The platform of the component.Platform
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 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 Amazon S3 URL and the requester must have permission to access the Amazon S3
bucket. If you use Amazon 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 Amazon S3 URL and the requester must have permission to access the
Amazon S3 bucket. If you use Amazon 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 Amazon S3 URL and the requester must have permission to access the Amazon S3
bucket. If you use Amazon 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 Amazon S3 URL and the requester must have permission to access the Amazon S3
bucket. If you use Amazon 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 Amazon S3 URL and the requester must have permission to access the
Amazon S3 bucket. If you use Amazon 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)
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
clientToken
- Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information,
see Ensuring
idempotency in the Amazon EC2 API Reference.public String getClientToken()
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
public ImportComponentRequest withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
clientToken
- Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information,
see Ensuring
idempotency in the Amazon EC2 API Reference.public String toString()
toString
in class Object
Object.toString()
public ImportComponentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()