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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnApplicationProps.getLocation()location(software.amazon.awscdk.core.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(software.amazon.awscdk.core.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- `AWS::Serverless::Application.Location`. This parameter is required.- Returns:
this
-
location
@Stability(Stable) public CfnApplicationProps.Builder location(software.amazon.awscdk.core.IResolvable location) Sets the value ofCfnApplicationProps.getLocation()- Parameters:
location- `AWS::Serverless::Application.Location`. This parameter is required.- Returns:
this
-
location
@Stability(Stable) public CfnApplicationProps.Builder location(CfnApplication.ApplicationLocationProperty location) Sets the value ofCfnApplicationProps.getLocation()- Parameters:
location- `AWS::Serverless::Application.Location`. This parameter is required.- Returns:
this
-
notificationArns
@Stability(Stable) public CfnApplicationProps.Builder notificationArns(List<String> notificationArns) Sets the value ofCfnApplicationProps.getNotificationArns()- Parameters:
notificationArns- `AWS::Serverless::Application.NotificationArns`.- Returns:
this
-
parameters
@Stability(Stable) public CfnApplicationProps.Builder parameters(software.amazon.awscdk.core.IResolvable parameters) Sets the value ofCfnApplicationProps.getParameters()- Parameters:
parameters- `AWS::Serverless::Application.Parameters`.- Returns:
this
-
parameters
Sets the value ofCfnApplicationProps.getParameters()- Parameters:
parameters- `AWS::Serverless::Application.Parameters`.- Returns:
this
-
tags
Sets the value ofCfnApplicationProps.getTags()- Parameters:
tags- `AWS::Serverless::Application.Tags`.- Returns:
this
-
timeoutInMinutes
Sets the value ofCfnApplicationProps.getTimeoutInMinutes()- Parameters:
timeoutInMinutes- `AWS::Serverless::Application.TimeoutInMinutes`.- 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
-