@Stability(value=Experimental) public static final class IpInstanceBaseProps.Builder extends Object implements software.amazon.jsii.Builder<IpInstanceBaseProps>
IpInstanceBaseProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
IpInstanceBaseProps |
build()
Builds the configured instance.
|
IpInstanceBaseProps.Builder |
customAttributes(Map<String,String> customAttributes)
Sets the value of
BaseInstanceProps.getCustomAttributes() |
IpInstanceBaseProps.Builder |
instanceId(String instanceId)
Sets the value of
BaseInstanceProps.getInstanceId() |
IpInstanceBaseProps.Builder |
ipv4(String ipv4)
Sets the value of
IpInstanceBaseProps.getIpv4() |
IpInstanceBaseProps.Builder |
ipv6(String ipv6)
Sets the value of
IpInstanceBaseProps.getIpv6() |
IpInstanceBaseProps.Builder |
port(Number port)
Sets the value of
IpInstanceBaseProps.getPort() |
@Stability(value=Experimental) public IpInstanceBaseProps.Builder ipv4(String ipv4)
IpInstanceBaseProps.getIpv4()ipv4 - If the service that you specify contains a template for an A record, the IPv4 address that you want AWS Cloud Map to use for the value of the A record.this@Stability(value=Experimental) public IpInstanceBaseProps.Builder ipv6(String ipv6)
IpInstanceBaseProps.getIpv6()ipv6 - If the service that you specify contains a template for an AAAA record, the IPv6 address that you want AWS Cloud Map to use for the value of the AAAA record.this@Stability(value=Experimental) public IpInstanceBaseProps.Builder port(Number port)
IpInstanceBaseProps.getPort()port - The port on the endpoint that you want AWS Cloud Map to perform health checks on.
This value is also used for
the port value in an SRV record if the service that you specify includes an SRV record. You can also specify a
default port that is applied to all instances in the Service configuration.this@Stability(value=Experimental) public IpInstanceBaseProps.Builder customAttributes(Map<String,String> customAttributes)
BaseInstanceProps.getCustomAttributes()customAttributes - Custom attributes of the instance.this@Stability(value=Experimental) public IpInstanceBaseProps.Builder instanceId(String instanceId)
BaseInstanceProps.getInstanceId()instanceId - The id of the instance resource.this@Stability(value=Experimental) public IpInstanceBaseProps build()
build in interface software.amazon.jsii.Builder<IpInstanceBaseProps>IpInstanceBasePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.