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
@Stability(Stable) public static CfnServiceTemplate.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
name
The name of the service template.- Parameters:
name
- The name of the service template. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnServiceTemplate>
- Returns:
- a newly built instance of
CfnServiceTemplate
.
-