@Stability(value=Stable) public static final class ExposeDeploymentViaIngressOptions.Builder extends Object implements software.amazon.jsii.Builder<ExposeDeploymentViaIngressOptions>
ExposeDeploymentViaIngressOptions| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public ExposeDeploymentViaIngressOptions.Builder name(String name)
ExposeDeploymentViaServiceOptions.getName()name - The name of the service to expose.
This will be set on the Service.metadata and must be a DNS_LABELthis@Stability(value=Stable) public ExposeDeploymentViaIngressOptions.Builder port(Number port)
ExposeDeploymentViaServiceOptions.getPort()port - The port that the service should serve on.this@Stability(value=Stable) public ExposeDeploymentViaIngressOptions.Builder protocol(Protocol protocol)
ExposeDeploymentViaServiceOptions.getProtocol()protocol - The IP protocol for this port.
Supports "TCP", "UDP", and "SCTP". Default is TCP.this@Stability(value=Stable) public ExposeDeploymentViaIngressOptions.Builder serviceType(ServiceType serviceType)
ExposeDeploymentViaServiceOptions.getServiceType()serviceType - The type of the exposed service.this@Stability(value=Stable) public ExposeDeploymentViaIngressOptions.Builder targetPort(Number targetPort)
ExposeDeploymentViaServiceOptions.getTargetPort()targetPort - The port number the service will redirect to.this@Stability(value=Stable) public ExposeDeploymentViaIngressOptions.Builder ingress(Ingress ingress)
ExposeServiceViaIngressOptions.getIngress()ingress - The ingress to add rules to.this@Stability(value=Stable) public ExposeDeploymentViaIngressOptions.Builder pathType(HttpIngressPathType pathType)
ExposeServiceViaIngressOptions.getPathType()pathType - The type of the path.this@Stability(value=Stable) public ExposeDeploymentViaIngressOptions build()
build in interface software.amazon.jsii.Builder<ExposeDeploymentViaIngressOptions>ExposeDeploymentViaIngressOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.