Interface CreateEnvironmentTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateEnvironmentTemplateRequest.Builder,
,CreateEnvironmentTemplateRequest> ProtonRequest.Builder
,SdkBuilder<CreateEnvironmentTemplateRequest.Builder,
,CreateEnvironmentTemplateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateEnvironmentTemplateRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the environment template.displayName
(String displayName) The environment template name as displayed in the developer interface.encryptionKey
(String encryptionKey) A customer provided encryption key that Proton uses to encrypt data.The name of the environment template.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.provisioning
(String provisioning) When included, indicates that the environment template is for customer provisioned and managed infrastructure.provisioning
(Provisioning provisioning) When included, indicates that the environment template is for customer provisioned and managed infrastructure.tags
(Collection<Tag> tags) An optional list of metadata items that you can associate with the Proton environment template.tags
(Consumer<Tag.Builder>... tags) An optional list of metadata items that you can associate with the Proton environment template.An optional list of metadata items that you can associate with the Proton 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
-
description
A description of the environment template.
- Parameters:
description
- A description of the environment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The environment template name as displayed in the developer interface.
- Parameters:
displayName
- The environment template name as displayed in the developer interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKey
A customer provided encryption key that Proton uses to encrypt data.
- Parameters:
encryptionKey
- A customer provided encryption key that Proton uses to encrypt data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the environment template.
- Parameters:
name
- The name of the environment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisioning
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
- Parameters:
provisioning
- When included, indicates that the environment template is for customer provisioned and managed infrastructure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provisioning
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
- Parameters:
provisioning
- When included, indicates that the environment template is for customer provisioned and managed infrastructure.- 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. 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. 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. 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. 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. 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:
-
overrideConfiguration
CreateEnvironmentTemplateRequest.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
CreateEnvironmentTemplateRequest.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.
-