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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationConfig
(IResolvable applicationConfig) Sets the value ofCfnApplicationProps.getApplicationConfig()
applicationConfig
(CfnApplication.ApplicationConfigProperty applicationConfig) Sets the value ofCfnApplicationProps.getApplicationConfig()
applicationSourceConfig
(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()
iframeConfig
(IResolvable iframeConfig) Sets the value ofCfnApplicationProps.getIframeConfig()
iframeConfig
(CfnApplication.IframeConfigProperty iframeConfig) Sets the value ofCfnApplicationProps.getIframeConfig()
initializationTimeout
(Number initializationTimeout) Sets the value ofCfnApplicationProps.getInitializationTimeout()
Sets the value ofCfnApplicationProps.getIsService()
isService
(IResolvable isService) Sets the value ofCfnApplicationProps.getIsService()
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
-
applicationConfig
@Stability(Stable) public CfnApplicationProps.Builder applicationConfig(IResolvable applicationConfig) Sets the value ofCfnApplicationProps.getApplicationConfig()
- Parameters:
applicationConfig
- the value to be set.- Returns:
this
-
applicationConfig
@Stability(Stable) public CfnApplicationProps.Builder applicationConfig(CfnApplication.ApplicationConfigProperty applicationConfig) Sets the value ofCfnApplicationProps.getApplicationConfig()
- Parameters:
applicationConfig
- the value to be set.- Returns:
this
-
iframeConfig
Sets the value ofCfnApplicationProps.getIframeConfig()
- Parameters:
iframeConfig
- the value to be set.- Returns:
this
-
iframeConfig
@Stability(Stable) public CfnApplicationProps.Builder iframeConfig(CfnApplication.IframeConfigProperty iframeConfig) Sets the value ofCfnApplicationProps.getIframeConfig()
- Parameters:
iframeConfig
- the value to be set.- Returns:
this
-
initializationTimeout
@Stability(Stable) public CfnApplicationProps.Builder initializationTimeout(Number initializationTimeout) Sets the value ofCfnApplicationProps.getInitializationTimeout()
- Parameters:
initializationTimeout
- The initialization timeout in milliseconds. Required when IsService is true.- Returns:
this
-
isService
Sets the value ofCfnApplicationProps.getIsService()
- Parameters:
isService
- Indicates whether the application is a service.- Returns:
this
-
isService
Sets the value ofCfnApplicationProps.getIsService()
- Parameters:
isService
- Indicates whether the application is a service.- 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
-