Class CfnApplicationProps.Builder
java.lang.Object
software.amazon.awscdk.services.appintegrations.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
-
Method Summary
Modifier and TypeMethodDescriptionapplicationSourceConfig
(IResolvable applicationSourceConfig) Sets the value ofCfnApplicationProps.getApplicationSourceConfig()
applicationSourceConfig
(CfnApplication.ApplicationSourceConfigProperty applicationSourceConfig) Sets the value ofCfnApplicationProps.getApplicationSourceConfig()
build()
Builds the configured instance.description
(String description) Sets the value ofCfnApplicationProps.getDescription()
Sets the value ofCfnApplicationProps.getName()
Sets the value ofCfnApplicationProps.getNamespace()
permissions
(List<String> permissions) Sets the value ofCfnApplicationProps.getPermissions()
Sets the value ofCfnApplicationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationSourceConfig
@Stability(Stable) public CfnApplicationProps.Builder applicationSourceConfig(IResolvable applicationSourceConfig) Sets the value ofCfnApplicationProps.getApplicationSourceConfig()
- Parameters:
applicationSourceConfig
- The configuration for where the application should be loaded from. This parameter is required.- Returns:
this
-
applicationSourceConfig
@Stability(Stable) public CfnApplicationProps.Builder applicationSourceConfig(CfnApplication.ApplicationSourceConfigProperty applicationSourceConfig) Sets the value ofCfnApplicationProps.getApplicationSourceConfig()
- Parameters:
applicationSourceConfig
- The configuration for where the application should be loaded from. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnApplicationProps.getDescription()
- Parameters:
description
- The description of the 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
-
namespace
Sets the value ofCfnApplicationProps.getNamespace()
- Parameters:
namespace
- The namespace of the application. This parameter is required.- Returns:
this
-
permissions
Sets the value ofCfnApplicationProps.getPermissions()
- Parameters:
permissions
- The configuration of events or requests that the application has access to.- Returns:
this
-
tags
Sets the value ofCfnApplicationProps.getTags()
- Parameters:
tags
- The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationProps>
- Returns:
- a new instance of
CfnApplicationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-