Class CfnEnvironmentTemplateMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.proton.CfnEnvironmentTemplateMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironmentTemplateMixinProps>
- Enclosing interface:
CfnEnvironmentTemplateMixinProps
@Stability(Stable)
public static final class CfnEnvironmentTemplateMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironmentTemplateMixinProps>
A builder for
CfnEnvironmentTemplateMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnEnvironmentTemplateMixinProps.getDescription()displayName(String displayName) Sets the value ofCfnEnvironmentTemplateMixinProps.getDisplayName()encryptionKey(String encryptionKey) Sets the value ofCfnEnvironmentTemplateMixinProps.getEncryptionKey()Sets the value ofCfnEnvironmentTemplateMixinProps.getName()provisioning(String provisioning) Sets the value ofCfnEnvironmentTemplateMixinProps.getProvisioning()Sets the value ofCfnEnvironmentTemplateMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnEnvironmentTemplateMixinProps.getDescription()- Parameters:
description- A description of the environment template.- Returns:
this
-
displayName
Sets the value ofCfnEnvironmentTemplateMixinProps.getDisplayName()- Parameters:
displayName- The name of the environment template as displayed in the developer interface.- Returns:
this
-
encryptionKey
@Stability(Stable) public CfnEnvironmentTemplateMixinProps.Builder encryptionKey(String encryptionKey) Sets the value ofCfnEnvironmentTemplateMixinProps.getEncryptionKey()- Parameters:
encryptionKey- The customer provided encryption key for the environment template.- Returns:
this
-
name
Sets the value ofCfnEnvironmentTemplateMixinProps.getName()- Parameters:
name- The name of the environment template.- Returns:
this
-
provisioning
@Stability(Stable) public CfnEnvironmentTemplateMixinProps.Builder provisioning(String provisioning) Sets the value ofCfnEnvironmentTemplateMixinProps.getProvisioning()- Parameters:
provisioning- When included, indicates that the environment template is for customer provisioned and managed infrastructure.- Returns:
this
-
tags
@Stability(Stable) public CfnEnvironmentTemplateMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnEnvironmentTemplateMixinProps.getTags()- Parameters:
tags- An optional list of metadata items that you can associate with the AWS Proton environment template. A tag is a key-value pair.For more information, see AWS Proton resources and tagging in the AWS Proton User Guide .
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEnvironmentTemplateMixinProps>- Returns:
- a new instance of
CfnEnvironmentTemplateMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-