Class CfnApplication.Builder

java.lang.Object
software.amazon.awscdk.services.m2.CfnApplication.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication>
Enclosing class:
CfnApplication

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

    • create

      @Stability(Stable) public static CfnApplication.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 CfnApplication.Builder.
    • definition

      @Stability(Stable) public CfnApplication.Builder definition(CfnApplication.DefinitionProperty definition)
      The application definition for a particular application. You can specify either inline JSON or an Amazon S3 bucket location.

      For information about application definitions, see the AWS Mainframe Modernization User Guide .

      Parameters:
      definition - The application definition for a particular application. You can specify either inline JSON or an Amazon S3 bucket location. This parameter is required.
      Returns:
      this
    • definition

      @Stability(Stable) public CfnApplication.Builder definition(IResolvable definition)
      The application definition for a particular application. You can specify either inline JSON or an Amazon S3 bucket location.

      For information about application definitions, see the AWS Mainframe Modernization User Guide .

      Parameters:
      definition - The application definition for a particular application. You can specify either inline JSON or an Amazon S3 bucket location. This parameter is required.
      Returns:
      this
    • engineType

      @Stability(Stable) public CfnApplication.Builder engineType(String engineType)
      The type of the target platform for this application.

      Parameters:
      engineType - The type of the target platform for this application. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnApplication.Builder name(String name)
      The name of the application.

      Parameters:
      name - The name of the application. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnApplication.Builder description(String description)
      The description of the application.

      Parameters:
      description - The description of the application. This parameter is required.
      Returns:
      this
    • kmsKeyId

      @Stability(Stable) public CfnApplication.Builder kmsKeyId(String kmsKeyId)
      The identifier of a customer managed key.

      Parameters:
      kmsKeyId - The identifier of a customer managed key. This parameter is required.
      Returns:
      this
    • roleArn

      @Stability(Stable) public CfnApplication.Builder roleArn(String roleArn)
      AWS::M2::Application.RoleArn.

      Parameters:
      roleArn - AWS::M2::Application.RoleArn. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnApplication.Builder tags(Map<String,String> tags)
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

      Parameters:
      tags - An array of key-value pairs to apply to this resource. This parameter is required.
      Returns:
      this
    • build

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