Interface CreateEnvironmentTemplateVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateEnvironmentTemplateVersionRequest.Builder,
,CreateEnvironmentTemplateVersionRequest> ProtonRequest.Builder
,SdkBuilder<CreateEnvironmentTemplateVersionRequest.Builder,
,CreateEnvironmentTemplateVersionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateEnvironmentTemplateVersionRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(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.description
(String description) A description of the new version of an environment template.majorVersion
(String majorVersion) To create a new minor version of the environment template, includemajor Version
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.An object that includes the template bundle S3 bucket path and name for the new version of an template.source
(TemplateVersionSourceInput source) An object that includes the template bundle S3 bucket path and name for the new version of an template.tags
(Collection<Tag> tags) An optional list of metadata items that you can associate with the Proton environment template version.tags
(Consumer<Tag.Builder>... tags) An optional list of metadata items that you can associate with the Proton environment template version.An optional list of metadata items that you can associate with the Proton environment template version.templateName
(String templateName) The name of the environment template.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.proton.model.ProtonRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the new version of an environment template.
- Parameters:
description
- A description of the new version of an environment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
.- Parameters:
majorVersion
- To create a new minor version of the environment template, includemajor Version
.To create a new major and minor version of the environment template, exclude
major Version
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
An object that includes the template bundle S3 bucket path and name for the new version of an template.
- Parameters:
source
- An object that includes the template bundle S3 bucket path and name for the new version of an template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
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 viaTemplateVersionSourceInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(TemplateVersionSourceInput)
.- Parameters:
source
- a consumer that will call methods onTemplateVersionSourceInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
templateName
The name of the environment template.
- Parameters:
templateName
- The name of the environment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateEnvironmentTemplateVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateEnvironmentTemplateVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-