Class CfnServiceTemplateProps.Builder
java.lang.Object
software.amazon.awscdk.services.proton.CfnServiceTemplateProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceTemplateProps>
- Enclosing interface:
- CfnServiceTemplateProps
@Stability(Stable)
public static final class CfnServiceTemplateProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceTemplateProps>
A builder for
CfnServiceTemplateProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnServiceTemplateProps.getDescription()displayName(String displayName) Sets the value ofCfnServiceTemplateProps.getDisplayName()encryptionKey(String encryptionKey) Sets the value ofCfnServiceTemplateProps.getEncryptionKey()Sets the value ofCfnServiceTemplateProps.getName()pipelineProvisioning(String pipelineProvisioning) Sets the value ofCfnServiceTemplateProps.getPipelineProvisioning()Sets the value ofCfnServiceTemplateProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnServiceTemplateProps.getDescription()- Parameters:
description- A description of the service template.- Returns:
this
-
displayName
Sets the value ofCfnServiceTemplateProps.getDisplayName()- Parameters:
displayName- The service template name as displayed in the developer interface.- Returns:
this
-
encryptionKey
Sets the value ofCfnServiceTemplateProps.getEncryptionKey()- Parameters:
encryptionKey- The customer provided service template encryption key that's used to encrypt data.- Returns:
this
-
name
Sets the value ofCfnServiceTemplateProps.getName()- Parameters:
name- The name of the service template.- Returns:
this
-
pipelineProvisioning
@Stability(Stable) public CfnServiceTemplateProps.Builder pipelineProvisioning(String pipelineProvisioning) Sets the value ofCfnServiceTemplateProps.getPipelineProvisioning()- Parameters:
pipelineProvisioning- IfpipelineProvisioningistrue, a service pipeline is included in the service template. Otherwise, a service pipeline isn't included in the service template.- Returns:
this
-
tags
Sets the value ofCfnServiceTemplateProps.getTags()- Parameters:
tags- An object that includes the template bundle S3 bucket path and name for the new version of a service template.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceTemplateProps>- Returns:
- a new instance of
CfnServiceTemplateProps - Throws:
NullPointerException- if any required attribute was not provided
-