Class CfnService.IngressConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.apprunner.CfnService.IngressConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.IngressConfigurationProperty>
- Enclosing interface:
CfnService.IngressConfigurationProperty
@Stability(Stable)
public static final class CfnService.IngressConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.IngressConfigurationProperty>
A builder for
CfnService.IngressConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.isPubliclyAccessible
(Boolean isPubliclyAccessible) Sets the value ofCfnService.IngressConfigurationProperty.getIsPubliclyAccessible()
isPubliclyAccessible
(IResolvable isPubliclyAccessible) Sets the value ofCfnService.IngressConfigurationProperty.getIsPubliclyAccessible()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
isPubliclyAccessible
@Stability(Stable) public CfnService.IngressConfigurationProperty.Builder isPubliclyAccessible(Boolean isPubliclyAccessible) Sets the value ofCfnService.IngressConfigurationProperty.getIsPubliclyAccessible()
- Parameters:
isPubliclyAccessible
- Specifies whether your App Runner service is publicly accessible. This parameter is required. To make the service publicly accessible set it toTrue
. To make the service privately accessible, from only within an Amazon VPC set it toFalse
.- Returns:
this
-
isPubliclyAccessible
@Stability(Stable) public CfnService.IngressConfigurationProperty.Builder isPubliclyAccessible(IResolvable isPubliclyAccessible) Sets the value ofCfnService.IngressConfigurationProperty.getIsPubliclyAccessible()
- Parameters:
isPubliclyAccessible
- Specifies whether your App Runner service is publicly accessible. This parameter is required. To make the service publicly accessible set it toTrue
. To make the service privately accessible, from only within an Amazon VPC set it toFalse
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnService.IngressConfigurationProperty>
- Returns:
- a new instance of
CfnService.IngressConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-