Interface CfnCluster.EndpointProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.EndpointProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.EndpointProperty
extends software.amazon.jsii.JsiiSerializable
An endpoint available for interaction with the scheduler.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.pcs.*; EndpointProperty endpointProperty = EndpointProperty.builder() .port("port") .privateIpAddress("privateIpAddress") .type("type") // the properties below are optional .ipv6Address("ipv6Address") .publicIpAddress("publicIpAddress") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCluster.EndpointProperty
static final class
An implementation forCfnCluster.EndpointProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The endpoint's IPv6 address.getPort()
The endpoint's connection port number.For clusters that use IPv4, this is the endpoint's private IP address.default String
The endpoint's public IP address.getType()
Indicates the type of endpoint running at the specific IP address.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPort
The endpoint's connection port number.- See Also:
-
getPrivateIpAddress
For clusters that use IPv4, this is the endpoint's private IP address.Example:
10.1.2.3
For clusters configured to use IPv6, this is an empty string.
- See Also:
-
getType
Indicates the type of endpoint running at the specific IP address.- See Also:
-
getIpv6Address
The endpoint's IPv6 address.Example:
2001:db8::1
- See Also:
-
getPublicIpAddress
The endpoint's public IP address.- See Also:
-
builder
-