Class CfnService.UrlEndpointInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.refactorspaces.CfnService.UrlEndpointInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.UrlEndpointInputProperty>
- Enclosing interface:
- CfnService.UrlEndpointInputProperty
@Stability(Stable)
public static final class CfnService.UrlEndpointInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.UrlEndpointInputProperty>
A builder for
CfnService.UrlEndpointInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnService.UrlEndpointInputProperty.getHealthUrl()Sets the value ofCfnService.UrlEndpointInputProperty.getUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
url
Sets the value ofCfnService.UrlEndpointInputProperty.getUrl()- Parameters:
url- The URL to route traffic to. This parameter is required. The URL must be an rfc3986-formatted URL . If the host is a domain name, the name must be resolvable over the public internet. If the scheme ishttps, the top level domain of the host must be listed in the IANA root zone database .- Returns:
this
-
healthUrl
Sets the value ofCfnService.UrlEndpointInputProperty.getHealthUrl()- Parameters:
healthUrl- The health check URL of the URL endpoint type. If the URL is a public endpoint, theHealthUrlmust also be a public endpoint. If the URL is a private endpoint inside a virtual private cloud (VPC), the health URL must also be a private endpoint, and the host must be the same as the URL.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnService.UrlEndpointInputProperty>- Returns:
- a new instance of
CfnService.UrlEndpointInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-