Class CfnEnvironmentTemplateProps.Builder
java.lang.Object
software.amazon.awscdk.services.proton.CfnEnvironmentTemplateProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironmentTemplateProps>
- Enclosing interface:
CfnEnvironmentTemplateProps
@Stability(Stable)
public static final class CfnEnvironmentTemplateProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironmentTemplateProps>
A builder for
CfnEnvironmentTemplateProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnEnvironmentTemplateProps.getDescription()displayName(String displayName) Sets the value ofCfnEnvironmentTemplateProps.getDisplayName()encryptionKey(String encryptionKey) Sets the value ofCfnEnvironmentTemplateProps.getEncryptionKey()Sets the value ofCfnEnvironmentTemplateProps.getName()provisioning(String provisioning) Sets the value ofCfnEnvironmentTemplateProps.getProvisioning()Sets the value ofCfnEnvironmentTemplateProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnEnvironmentTemplateProps.getDescription()- Parameters:
description- A description of the environment template.- Returns:
this
-
displayName
Sets the value ofCfnEnvironmentTemplateProps.getDisplayName()- Parameters:
displayName- The name of the environment template as displayed in the developer interface.- Returns:
this
-
encryptionKey
Sets the value ofCfnEnvironmentTemplateProps.getEncryptionKey()- Parameters:
encryptionKey- The customer provided encryption key for the environment template.- Returns:
this
-
name
Sets the value ofCfnEnvironmentTemplateProps.getName()- Parameters:
name- The name of the environment template.- Returns:
this
-
provisioning
Sets the value ofCfnEnvironmentTemplateProps.getProvisioning()- Parameters:
provisioning- When included, indicates that the environment template is for customer provisioned and managed infrastructure.- Returns:
this
-
tags
Sets the value ofCfnEnvironmentTemplateProps.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<CfnEnvironmentTemplateProps>- Returns:
- a new instance of
CfnEnvironmentTemplateProps - Throws:
NullPointerException- if any required attribute was not provided
-