public static interface ImportComponentRequest.Builder extends ImagebuilderRequest.Builder, SdkPojo, CopyableBuilder<ImportComponentRequest.Builder,ImportComponentRequest>
Modifier and Type | Method and Description |
---|---|
ImportComponentRequest.Builder |
changeDescription(String changeDescription)
The change description of the component.
|
ImportComponentRequest.Builder |
clientToken(String clientToken)
The idempotency token of the component.
|
ImportComponentRequest.Builder |
data(String data)
The data of the component.
|
ImportComponentRequest.Builder |
description(String description)
The description of the component.
|
ImportComponentRequest.Builder |
format(ComponentFormat format)
The format of the resource that you want to import as a component.
|
ImportComponentRequest.Builder |
format(String format)
The format of the resource that you want to import as a component.
|
ImportComponentRequest.Builder |
kmsKeyId(String kmsKeyId)
The ID of the KMS key that should be used to encrypt this component.
|
ImportComponentRequest.Builder |
name(String name)
The name of the component.
|
ImportComponentRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ImportComponentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ImportComponentRequest.Builder |
platform(Platform platform)
The platform of the component.
|
ImportComponentRequest.Builder |
platform(String platform)
The platform of the component.
|
ImportComponentRequest.Builder |
semanticVersion(String semanticVersion)
The semantic version of the component.
|
ImportComponentRequest.Builder |
tags(Map<String,String> tags)
The tags of the component.
|
ImportComponentRequest.Builder |
type(ComponentType type)
The type of the component denotes whether the component is used to build the image or only to test it.
|
ImportComponentRequest.Builder |
type(String type)
The type of the component denotes whether the component is used to build the image or only to test it.
|
ImportComponentRequest.Builder |
uri(String uri)
The uri of the component.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
ImportComponentRequest.Builder name(String name)
The name of the component.
name
- The name of the component.ImportComponentRequest.Builder semanticVersion(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).ImportComponentRequest.Builder description(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.ImportComponentRequest.Builder changeDescription(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.ImportComponentRequest.Builder type(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
,
ComponentType
ImportComponentRequest.Builder type(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
,
ComponentType
ImportComponentRequest.Builder format(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
,
ComponentFormat
ImportComponentRequest.Builder format(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
,
ComponentFormat
ImportComponentRequest.Builder platform(String platform)
The platform of the component.
ImportComponentRequest.Builder platform(Platform platform)
The platform of the component.
ImportComponentRequest.Builder data(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.ImportComponentRequest.Builder uri(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.ImportComponentRequest.Builder kmsKeyId(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.ImportComponentRequest.Builder tags(Map<String,String> tags)
The tags of the component.
tags
- The tags of the component.ImportComponentRequest.Builder clientToken(String clientToken)
The idempotency token of the component.
clientToken
- The idempotency token of the component.ImportComponentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ImportComponentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.