Class CfnServicePropsMixin.UrlEndpointInputProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.refactorspaces.CfnServicePropsMixin.UrlEndpointInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.UrlEndpointInputProperty>
- Enclosing interface:
CfnServicePropsMixin.UrlEndpointInputProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.UrlEndpointInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.UrlEndpointInputProperty>
A builder for
CfnServicePropsMixin.UrlEndpointInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnServicePropsMixin.UrlEndpointInputProperty.getHealthUrl()Sets the value ofCfnServicePropsMixin.UrlEndpointInputProperty.getUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
healthUrl
@Stability(Stable) public CfnServicePropsMixin.UrlEndpointInputProperty.Builder healthUrl(String healthUrl) Sets the value ofCfnServicePropsMixin.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
-
url
Sets the value ofCfnServicePropsMixin.UrlEndpointInputProperty.getUrl()- Parameters:
url- The URL to route traffic to. 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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.UrlEndpointInputProperty>- Returns:
- a new instance of
CfnServicePropsMixin.UrlEndpointInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-