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 Details

    • create

      @Stability(Stable) public static CfnServiceTemplate.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnServiceTemplate.Builder.
    • description

      @Stability(Stable) public CfnServiceTemplate.Builder description(String description)
      A description of the service template.

      Parameters:
      description - A description of the service template. This parameter is required.
      Returns:
      this
    • displayName

      @Stability(Stable) public CfnServiceTemplate.Builder displayName(String 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

      @Stability(Stable) public CfnServiceTemplate.Builder encryptionKey(String 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

      @Stability(Stable) public CfnServiceTemplate.Builder name(String 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)
      If pipelineProvisioning is true , a service pipeline is included in the service template.

      Otherwise, a service pipeline isn't included in the service template.

      Parameters:
      pipelineProvisioning - If pipelineProvisioning is true , a service pipeline is included in the service template. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnServiceTemplate.Builder tags(List<? extends CfnTag> 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

      @Stability(Stable) public CfnServiceTemplate build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnServiceTemplate>
      Returns:
      a newly built instance of CfnServiceTemplate.