@Stability(value=Stable) public static final class CfnEndpointGroup.PortOverrideProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnEndpointGroup.PortOverrideProperty>
CfnEndpointGroup.PortOverrideProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnEndpointGroup.PortOverrideProperty |
build()
Builds the configured instance.
|
CfnEndpointGroup.PortOverrideProperty.Builder |
endpointPort(Number endpointPort)
Sets the value of
CfnEndpointGroup.PortOverrideProperty.getEndpointPort() |
CfnEndpointGroup.PortOverrideProperty.Builder |
listenerPort(Number listenerPort)
Sets the value of
CfnEndpointGroup.PortOverrideProperty.getListenerPort() |
@Stability(value=Stable) public CfnEndpointGroup.PortOverrideProperty.Builder endpointPort(Number endpointPort)
CfnEndpointGroup.PortOverrideProperty.getEndpointPort()endpointPort - The endpoint port that you want a listener port to be mapped to. This parameter is required.
This is the port on the endpoint, such as the Application Load Balancer or Amazon EC2 instance.this@Stability(value=Stable) public CfnEndpointGroup.PortOverrideProperty.Builder listenerPort(Number listenerPort)
CfnEndpointGroup.PortOverrideProperty.getListenerPort()listenerPort - The listener port that you want to map to a specific endpoint port. This parameter is required.
This is the port that user traffic arrives to the Global Accelerator on.this@Stability(value=Stable) public CfnEndpointGroup.PortOverrideProperty build()
build in interface software.amazon.jsii.Builder<CfnEndpointGroup.PortOverrideProperty>CfnEndpointGroup.PortOverridePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.