Interface CreateEnvironmentTemplateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateEnvironmentTemplateRequest.Builder,CreateEnvironmentTemplateRequest>,ProtonRequest.Builder,SdkBuilder<CreateEnvironmentTemplateRequest.Builder,CreateEnvironmentTemplateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateEnvironmentTemplateRequest
public static interface CreateEnvironmentTemplateRequest.Builder extends ProtonRequest.Builder, SdkPojo, CopyableBuilder<CreateEnvironmentTemplateRequest.Builder,CreateEnvironmentTemplateRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateEnvironmentTemplateRequest.Builderdescription(String description)A description of the environment template.CreateEnvironmentTemplateRequest.BuilderdisplayName(String displayName)The environment template name as displayed in the developer interface.CreateEnvironmentTemplateRequest.BuilderencryptionKey(String encryptionKey)A customer provided encryption key that Proton uses to encrypt data.CreateEnvironmentTemplateRequest.Buildername(String name)The name of the environment template.CreateEnvironmentTemplateRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateEnvironmentTemplateRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateEnvironmentTemplateRequest.Builderprovisioning(String provisioning)When included, indicates that the environment template is for customer provisioned and managed infrastructure.CreateEnvironmentTemplateRequest.Builderprovisioning(Provisioning provisioning)When included, indicates that the environment template is for customer provisioned and managed infrastructure.CreateEnvironmentTemplateRequest.Buildertags(Collection<Tag> tags)An optional list of metadata items that you can associate with the Proton environment template.CreateEnvironmentTemplateRequest.Buildertags(Consumer<Tag.Builder>... tags)An optional list of metadata items that you can associate with the Proton environment template.CreateEnvironmentTemplateRequest.Buildertags(Tag... tags)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 Detail
-
description
CreateEnvironmentTemplateRequest.Builder description(String 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
CreateEnvironmentTemplateRequest.Builder displayName(String 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
CreateEnvironmentTemplateRequest.Builder encryptionKey(String 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
CreateEnvironmentTemplateRequest.Builder name(String 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
CreateEnvironmentTemplateRequest.Builder provisioning(String 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,Provisioning
-
provisioning
CreateEnvironmentTemplateRequest.Builder provisioning(Provisioning 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,Provisioning
-
tags
CreateEnvironmentTemplateRequest.Builder tags(Collection<Tag> 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
CreateEnvironmentTemplateRequest.Builder tags(Tag... 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
CreateEnvironmentTemplateRequest.Builder tags(Consumer<Tag.Builder>... 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateEnvironmentTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateEnvironmentTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-