Class CfnApplicationProps.Builder
java.lang.Object
software.amazon.awscdk.services.sam.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 TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnApplicationProps.getLocation()
location
(IResolvable location) Sets the value ofCfnApplicationProps.getLocation()
Sets the value ofCfnApplicationProps.getLocation()
notificationArns
(List<String> notificationArns) Sets the value ofCfnApplicationProps.getNotificationArns()
parameters
(Map<String, String> parameters) Sets the value ofCfnApplicationProps.getParameters()
parameters
(IResolvable parameters) Sets the value ofCfnApplicationProps.getParameters()
Sets the value ofCfnApplicationProps.getTags()
timeoutInMinutes
(Number timeoutInMinutes) Sets the value ofCfnApplicationProps.getTimeoutInMinutes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
location
Sets the value ofCfnApplicationProps.getLocation()
- Parameters:
location
- the value to be set. This parameter is required.- Returns:
this
-
location
Sets the value ofCfnApplicationProps.getLocation()
- Parameters:
location
- the value to be set. This parameter is required.- Returns:
this
-
location
@Stability(Stable) public CfnApplicationProps.Builder location(CfnApplication.ApplicationLocationProperty location) Sets the value ofCfnApplicationProps.getLocation()
- Parameters:
location
- the value to be set. This parameter is required.- Returns:
this
-
notificationArns
@Stability(Stable) public CfnApplicationProps.Builder notificationArns(List<String> notificationArns) Sets the value ofCfnApplicationProps.getNotificationArns()
- Parameters:
notificationArns
- the value to be set.- Returns:
this
-
parameters
Sets the value ofCfnApplicationProps.getParameters()
- Parameters:
parameters
- the value to be set.- Returns:
this
-
parameters
Sets the value ofCfnApplicationProps.getParameters()
- Parameters:
parameters
- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnApplicationProps.getTags()
- Parameters:
tags
- the value to be set.- Returns:
this
-
timeoutInMinutes
Sets the value ofCfnApplicationProps.getTimeoutInMinutes()
- Parameters:
timeoutInMinutes
- the value to be set.- 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
-