Class CfnServiceTemplate.Builder
java.lang.Object
software.amazon.awscdk.services.proton.CfnServiceTemplate.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceTemplate>
- Enclosing class:
- CfnServiceTemplate
@Stability(Stable)
public static final class CfnServiceTemplate.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceTemplate>
A fluent builder for
CfnServiceTemplate
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnServiceTemplate.Builder
description
(String description) A description of the service template.displayName
(String displayName) The service template name as displayed in the developer interface.encryptionKey
(String encryptionKey) The customer provided service template encryption key that's used to encrypt data.The name of the service template.pipelineProvisioning
(String pipelineProvisioning) IfpipelineProvisioning
istrue
, a service pipeline is included in the service template.An object that includes the template bundle S3 bucket path and name for the new version of a service template.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnServiceTemplate.Builder
.
-
description
A description of the service template.- Parameters:
description
- A description of the service template. This parameter is required.- Returns:
this
-
displayName
The service template name as displayed in the developer interface.- Parameters:
displayName
- The service template name as displayed in the developer interface. This parameter is required.- Returns:
this
-
encryptionKey
The customer provided service template encryption key that's used to encrypt data.- Parameters:
encryptionKey
- The customer provided service template encryption key that's used to encrypt data. This parameter is required.- Returns:
this
-
name
The name of the service template.- Parameters:
name
- The name of the service template. This parameter is required.- Returns:
this
-
pipelineProvisioning
@Stability(Stable) public CfnServiceTemplate.Builder pipelineProvisioning(String pipelineProvisioning) IfpipelineProvisioning
istrue
, a service pipeline is included in the service template.Otherwise, a service pipeline isn't included in the service template.
- Parameters:
pipelineProvisioning
- IfpipelineProvisioning
istrue
, a service pipeline is included in the service template. This parameter is required.- Returns:
this
-
tags
An object that includes the template bundle S3 bucket path and name for the new version of a service template.- Parameters:
tags
- An object that includes the template bundle S3 bucket path and name for the new version of a service template. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnServiceTemplate>
- Returns:
- a newly built instance of
CfnServiceTemplate
.
-