public static interface CreateComponentRequest.Builder extends ProtonRequest.Builder, SdkPojo, CopyableBuilder<CreateComponentRequest.Builder,CreateComponentRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateComponentRequest.Builder |
clientToken(String clientToken)
The client token for the created component.
|
CreateComponentRequest.Builder |
description(String description)
An optional customer-provided description of the component.
|
CreateComponentRequest.Builder |
environmentName(String environmentName)
The name of the Proton environment that you want to associate this component with.
|
CreateComponentRequest.Builder |
manifest(String manifest)
A path to a manifest file that lists the Infrastructure as Code (IaC) file, template language, and rendering
engine for infrastructure that a custom component provisions.
|
CreateComponentRequest.Builder |
name(String name)
The customer-provided name of the component.
|
CreateComponentRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateComponentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateComponentRequest.Builder |
serviceInstanceName(String serviceInstanceName)
The name of the service instance that you want to attach this component to.
|
CreateComponentRequest.Builder |
serviceName(String serviceName)
The name of the service that
serviceInstanceName is associated with. |
CreateComponentRequest.Builder |
serviceSpec(String serviceSpec)
The service spec that you want the component to use to access service inputs.
|
CreateComponentRequest.Builder |
tags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton component.
|
CreateComponentRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An optional list of metadata items that you can associate with the Proton component.
|
CreateComponentRequest.Builder |
tags(Tag... tags)
An optional list of metadata items that you can associate with the Proton component.
|
CreateComponentRequest.Builder |
templateFile(String templateFile)
A path to the Infrastructure as Code (IaC) file describing infrastructure that a custom component provisions.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateComponentRequest.Builder clientToken(String clientToken)
The client token for the created component.
clientToken - The client token for the created component.CreateComponentRequest.Builder description(String description)
An optional customer-provided description of the component.
description - An optional customer-provided description of the component.CreateComponentRequest.Builder environmentName(String environmentName)
The name of the Proton environment that you want to associate this component with. You must specify this when
you don't specify serviceInstanceName and serviceName.
environmentName - The name of the Proton environment that you want to associate this component with. You must specify
this when you don't specify serviceInstanceName and serviceName.CreateComponentRequest.Builder manifest(String manifest)
A path to a manifest file that lists the Infrastructure as Code (IaC) file, template language, and rendering engine for infrastructure that a custom component provisions.
manifest - A path to a manifest file that lists the Infrastructure as Code (IaC) file, template language, and
rendering engine for infrastructure that a custom component provisions.CreateComponentRequest.Builder name(String name)
The customer-provided name of the component.
name - The customer-provided name of the component.CreateComponentRequest.Builder serviceInstanceName(String serviceInstanceName)
The name of the service instance that you want to attach this component to. If you don't specify this, the
component isn't attached to any service instance. Specify both serviceInstanceName and
serviceName or neither of them.
serviceInstanceName - The name of the service instance that you want to attach this component to. If you don't specify this,
the component isn't attached to any service instance. Specify both serviceInstanceName
and serviceName or neither of them.CreateComponentRequest.Builder serviceName(String serviceName)
The name of the service that serviceInstanceName is associated with. If you don't specify this,
the component isn't attached to any service instance. Specify both serviceInstanceName and
serviceName or neither of them.
serviceName - The name of the service that serviceInstanceName is associated with. If you don't specify
this, the component isn't attached to any service instance. Specify both
serviceInstanceName and serviceName or neither of them.CreateComponentRequest.Builder serviceSpec(String serviceSpec)
The service spec that you want the component to use to access service inputs. Set this only when you attach the component to a service instance.
serviceSpec - The service spec that you want the component to use to access service inputs. Set this only when you
attach the component to a service instance.CreateComponentRequest.Builder tags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton component. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
tags - An optional list of metadata items that you can associate with the Proton component. A tag is a
key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
CreateComponentRequest.Builder tags(Tag... tags)
An optional list of metadata items that you can associate with the Proton component. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
tags - An optional list of metadata items that you can associate with the Proton component. A tag is a
key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
CreateComponentRequest.Builder tags(Consumer<Tag.Builder>... tags)
An optional list of metadata items that you can associate with the Proton component. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) CreateComponentRequest.Builder templateFile(String templateFile)
A path to the Infrastructure as Code (IaC) file describing infrastructure that a custom component provisions.
Components support a single IaC file, even if you use Terraform as your template language.
templateFile - A path to the Infrastructure as Code (IaC) file describing infrastructure that a custom component
provisions. Components support a single IaC file, even if you use Terraform as your template language.
CreateComponentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateComponentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.