Class CfnActivityMixinProps.Builder

java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.stepfunctions.CfnActivityMixinProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnActivityMixinProps>
Enclosing interface:
CfnActivityMixinProps

@Stability(Stable) public static final class CfnActivityMixinProps.Builder extends Object implements software.amazon.jsii.Builder<CfnActivityMixinProps>
A builder for CfnActivityMixinProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • encryptionConfiguration

      @Stability(Stable) public CfnActivityMixinProps.Builder encryptionConfiguration(IResolvable encryptionConfiguration)
      Parameters:
      encryptionConfiguration - Encryption configuration for the activity. Activity configuration is immutable, and resource names must be unique. To set customer managed keys for encryption, you must create a new Activity . If you attempt to change the configuration in your CFN template for an existing activity, you will receive an ActivityAlreadyExists exception.

      To update your activity to include customer managed keys, set a new activity name within your CloudFormation template.

      Returns:
      this
    • encryptionConfiguration

      @Stability(Stable) public CfnActivityMixinProps.Builder encryptionConfiguration(CfnActivityPropsMixin.EncryptionConfigurationProperty encryptionConfiguration)
      Parameters:
      encryptionConfiguration - Encryption configuration for the activity. Activity configuration is immutable, and resource names must be unique. To set customer managed keys for encryption, you must create a new Activity . If you attempt to change the configuration in your CFN template for an existing activity, you will receive an ActivityAlreadyExists exception.

      To update your activity to include customer managed keys, set a new activity name within your CloudFormation template.

      Returns:
      this
    • name

      @Stability(Stable) public CfnActivityMixinProps.Builder name(String name)
      Parameters:
      name - The name of the activity. A name must not contain:

      • white space
      • brackets < > { } [ ]
      • wildcard characters ? *
      • special characters " # % \ ^ | ~ $ & , ; : /`
      • control characters ( U+0000-001F , U+007F-009F , U+FFFE-FFFF )
      • surrogates ( U+D800-DFFF )
      • invalid characters ( U+10FFFF )

      To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

      Returns:
      this
    • tags

      @Stability(Stable) public CfnActivityMixinProps.Builder tags(List<? extends CfnActivityPropsMixin.TagsEntryProperty> tags)
      Parameters:
      tags - The list of tags to add to a resource. Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + -
      Returns:
      this
    • build

      @Stability(Stable) public CfnActivityMixinProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnActivityMixinProps>
      Returns:
      a new instance of CfnActivityMixinProps
      Throws:
      NullPointerException - if any required attribute was not provided