public static interface CreateEnvironmentTemplateVersionRequest.Builder extends ProtonRequest.Builder, SdkPojo, CopyableBuilder<CreateEnvironmentTemplateVersionRequest.Builder,CreateEnvironmentTemplateVersionRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateEnvironmentTemplateVersionRequest.Builder |
clientToken(String clientToken)
When included, if two identical requests are made with the same client token, Proton returns the environment
template version that the first request created.
|
CreateEnvironmentTemplateVersionRequest.Builder |
description(String description)
A description of the new version of an environment template.
|
CreateEnvironmentTemplateVersionRequest.Builder |
majorVersion(String majorVersion)
To create a new minor version of the environment template, include
major Version. |
CreateEnvironmentTemplateVersionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateEnvironmentTemplateVersionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default CreateEnvironmentTemplateVersionRequest.Builder |
source(Consumer<TemplateVersionSourceInput.Builder> source)
An object that includes the template bundle S3 bucket path and name for the new version of an template.
|
CreateEnvironmentTemplateVersionRequest.Builder |
source(TemplateVersionSourceInput source)
An object that includes the template bundle S3 bucket path and name for the new version of an template.
|
CreateEnvironmentTemplateVersionRequest.Builder |
tags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton environment template version.
|
CreateEnvironmentTemplateVersionRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An optional list of metadata items that you can associate with the Proton environment template version.
|
CreateEnvironmentTemplateVersionRequest.Builder |
tags(Tag... tags)
An optional list of metadata items that you can associate with the Proton environment template version.
|
CreateEnvironmentTemplateVersionRequest.Builder |
templateName(String templateName)
The name of the environment template.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateEnvironmentTemplateVersionRequest.Builder clientToken(String clientToken)
When included, if two identical requests are made with the same client token, Proton returns the environment template version that the first request created.
clientToken - When included, if two identical requests are made with the same client token, Proton returns the
environment template version that the first request created.CreateEnvironmentTemplateVersionRequest.Builder description(String description)
A description of the new version of an environment template.
description - A description of the new version of an environment template.CreateEnvironmentTemplateVersionRequest.Builder majorVersion(String majorVersion)
To create a new minor version of the environment template, include major Version.
To create a new major and minor version of the environment template, exclude major Version.
majorVersion - To create a new minor version of the environment template, include major Version.
To create a new major and minor version of the environment template, exclude
major Version.
CreateEnvironmentTemplateVersionRequest.Builder source(TemplateVersionSourceInput source)
An object that includes the template bundle S3 bucket path and name for the new version of an template.
source - An object that includes the template bundle S3 bucket path and name for the new version of an
template.default CreateEnvironmentTemplateVersionRequest.Builder source(Consumer<TemplateVersionSourceInput.Builder> source)
An object that includes the template bundle S3 bucket path and name for the new version of an template.
This is a convenience method that creates an instance of theTemplateVersionSourceInput.Builder
avoiding the need to create one manually via TemplateVersionSourceInput.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to source(TemplateVersionSourceInput).
source - a consumer that will call methods on TemplateVersionSourceInput.Buildersource(TemplateVersionSourceInput)CreateEnvironmentTemplateVersionRequest.Builder tags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton environment template version. 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 environment template
version. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
CreateEnvironmentTemplateVersionRequest.Builder tags(Tag... tags)
An optional list of metadata items that you can associate with the Proton environment template version. 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 environment template
version. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
CreateEnvironmentTemplateVersionRequest.Builder tags(Consumer<Tag.Builder>... tags)
An optional list of metadata items that you can associate with the Proton environment template version. 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) CreateEnvironmentTemplateVersionRequest.Builder templateName(String templateName)
The name of the environment template.
templateName - The name of the environment template.CreateEnvironmentTemplateVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateEnvironmentTemplateVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.