public static interface CreateComponentRequest.Builder extends ImagebuilderRequest.Builder, SdkPojo, CopyableBuilder<CreateComponentRequest.Builder,CreateComponentRequest>
Modifier and Type | Method and Description |
---|---|
CreateComponentRequest.Builder |
changeDescription(String changeDescription)
The change description of the component.
|
CreateComponentRequest.Builder |
clientToken(String clientToken)
The idempotency token of the component.
|
CreateComponentRequest.Builder |
data(String data)
The data of the component.
|
CreateComponentRequest.Builder |
description(String description)
The description of the component.
|
CreateComponentRequest.Builder |
kmsKeyId(String kmsKeyId)
The ID of the KMS key that should be used to encrypt this component.
|
CreateComponentRequest.Builder |
name(String name)
The name of the component.
|
CreateComponentRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateComponentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateComponentRequest.Builder |
platform(Platform platform)
The platform of the component.
|
CreateComponentRequest.Builder |
platform(String platform)
The platform of the component.
|
CreateComponentRequest.Builder |
semanticVersion(String semanticVersion)
The semantic version of the component.
|
CreateComponentRequest.Builder |
supportedOsVersions(Collection<String> supportedOsVersions)
The operating system (OS) version supported by the component.
|
CreateComponentRequest.Builder |
supportedOsVersions(String... supportedOsVersions)
The operating system (OS) version supported by the component.
|
CreateComponentRequest.Builder |
tags(Map<String,String> tags)
The tags of the component.
|
CreateComponentRequest.Builder |
uri(String uri)
The uri of the component.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateComponentRequest.Builder name(String name)
The name of the component.
name
- The name of the component.CreateComponentRequest.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).CreateComponentRequest.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.CreateComponentRequest.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.CreateComponentRequest.Builder platform(String platform)
The platform of the component.
CreateComponentRequest.Builder platform(Platform platform)
The platform of the component.
CreateComponentRequest.Builder supportedOsVersions(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.CreateComponentRequest.Builder supportedOsVersions(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.CreateComponentRequest.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.CreateComponentRequest.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.CreateComponentRequest.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.CreateComponentRequest.Builder tags(Map<String,String> tags)
The tags of the component.
tags
- The tags of the component.CreateComponentRequest.Builder clientToken(String clientToken)
The idempotency token of the component.
clientToken
- The idempotency token of the component.CreateComponentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateComponentRequest.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.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.