Class CfnApplication.ExternalUrlConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appintegrations.CfnApplication.ExternalUrlConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.ExternalUrlConfigProperty>
- Enclosing interface:
CfnApplication.ExternalUrlConfigProperty
@Stability(Stable)
public static final class CfnApplication.ExternalUrlConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.ExternalUrlConfigProperty>
A builder for
CfnApplication.ExternalUrlConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnApplication.ExternalUrlConfigProperty.getAccessUrl()approvedOrigins(List<String> approvedOrigins) Sets the value ofCfnApplication.ExternalUrlConfigProperty.getApprovedOrigins()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessUrl
@Stability(Stable) public CfnApplication.ExternalUrlConfigProperty.Builder accessUrl(String accessUrl) Sets the value ofCfnApplication.ExternalUrlConfigProperty.getAccessUrl()- Parameters:
accessUrl- The URL to access the application. This parameter is required.- Returns:
this
-
approvedOrigins
@Stability(Stable) public CfnApplication.ExternalUrlConfigProperty.Builder approvedOrigins(List<String> approvedOrigins) Sets the value ofCfnApplication.ExternalUrlConfigProperty.getApprovedOrigins()- Parameters:
approvedOrigins- Additional URLs to allow list if different than the access URL.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplication.ExternalUrlConfigProperty>- Returns:
- a new instance of
CfnApplication.ExternalUrlConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-