@Stability(value=Stable) public static final class ExposeDeploymentViaIngressOptions.Builder extends Object implements software.amazon.jsii.Builder<ExposeDeploymentViaIngressOptions>
ExposeDeploymentViaIngressOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ExposeDeploymentViaIngressOptions |
build()
Builds the configured instance.
|
ExposeDeploymentViaIngressOptions.Builder |
ingress(IngressV1Beta1 ingress)
Sets the value of
ExposeServiceViaIngressOptions.getIngress() |
ExposeDeploymentViaIngressOptions.Builder |
name(String name)
Sets the value of
ExposeDeploymentViaServiceOptions.getName() |
ExposeDeploymentViaIngressOptions.Builder |
port(Number port)
Sets the value of
ExposeDeploymentViaServiceOptions.getPort() |
ExposeDeploymentViaIngressOptions.Builder |
protocol(Protocol protocol)
Sets the value of
ExposeDeploymentViaServiceOptions.getProtocol() |
ExposeDeploymentViaIngressOptions.Builder |
serviceType(ServiceType serviceType)
Sets the value of
ExposeDeploymentViaServiceOptions.getServiceType() |
ExposeDeploymentViaIngressOptions.Builder |
targetPort(Number targetPort)
Sets the value of
ExposeDeploymentViaServiceOptions.getTargetPort() |
@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(IngressV1Beta1 ingress)
ExposeServiceViaIngressOptions.getIngress()ingress - The ingress to add rules to.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.