Class CfnApplicationProps.Builder
java.lang.Object
software.amazon.awscdk.services.m2.CfnApplicationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationProps>
- Enclosing interface:
CfnApplicationProps
@Stability(Stable)
public static final class CfnApplicationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationProps>
A builder for
CfnApplicationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.definition(IResolvable definition) Sets the value ofCfnApplicationProps.getDefinition()definition(CfnApplication.DefinitionProperty definition) Sets the value ofCfnApplicationProps.getDefinition()description(String description) Sets the value ofCfnApplicationProps.getDescription()engineType(String engineType) Sets the value ofCfnApplicationProps.getEngineType()Sets the value ofCfnApplicationProps.getKmsKeyId()Sets the value ofCfnApplicationProps.getName()Sets the value ofCfnApplicationProps.getRoleArn()Sets the value ofCfnApplicationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
engineType
Sets the value ofCfnApplicationProps.getEngineType()- Parameters:
engineType- The type of the target platform for this application. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnApplicationProps.getName()- Parameters:
name- The name of the application. This parameter is required.- Returns:
this
-
definition
Sets the value ofCfnApplicationProps.getDefinition()- Parameters:
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 .- Returns:
this
-
definition
@Stability(Stable) public CfnApplicationProps.Builder definition(CfnApplication.DefinitionProperty definition) Sets the value ofCfnApplicationProps.getDefinition()- Parameters:
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 .- Returns:
this
-
description
Sets the value ofCfnApplicationProps.getDescription()- Parameters:
description- The description of the application.- Returns:
this
-
kmsKeyId
Sets the value ofCfnApplicationProps.getKmsKeyId()- Parameters:
kmsKeyId- The identifier of a customer managed key.- Returns:
this
-
roleArn
Sets the value ofCfnApplicationProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the role associated with the application.- Returns:
this
-
tags
Sets the value ofCfnApplicationProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationProps>- Returns:
- a new instance of
CfnApplicationProps - Throws:
NullPointerException- if any required attribute was not provided
-