@Stability(value=Stable) public static final class IpInstanceProps.Builder extends Object implements software.amazon.jsii.Builder<IpInstanceProps>
IpInstanceProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
IpInstanceProps |
build()
Builds the configured instance.
|
IpInstanceProps.Builder |
customAttributes(Map<String,String> customAttributes)
Sets the value of
BaseInstanceProps.getCustomAttributes() |
IpInstanceProps.Builder |
instanceId(String instanceId)
Sets the value of
BaseInstanceProps.getInstanceId() |
IpInstanceProps.Builder |
ipv4(String ipv4)
Sets the value of
IpInstanceBaseProps.getIpv4() |
IpInstanceProps.Builder |
ipv6(String ipv6)
Sets the value of
IpInstanceBaseProps.getIpv6() |
IpInstanceProps.Builder |
port(Number port)
Sets the value of
IpInstanceBaseProps.getPort() |
IpInstanceProps.Builder |
service(IService service)
Sets the value of
IpInstanceProps.getService() |
@Stability(value=Stable) public IpInstanceProps.Builder service(IService service)
IpInstanceProps.getService()service - The Cloudmap service this resource is registered to. This parameter is required.this@Stability(value=Stable) public IpInstanceProps.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=Stable) public IpInstanceProps.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=Stable) public IpInstanceProps.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=Stable) public IpInstanceProps.Builder customAttributes(Map<String,String> customAttributes)
BaseInstanceProps.getCustomAttributes()customAttributes - Custom attributes of the instance.this@Stability(value=Stable) public IpInstanceProps.Builder instanceId(String instanceId)
BaseInstanceProps.getInstanceId()instanceId - The id of the instance resource.this@Stability(value=Stable) public IpInstanceProps build()
build in interface software.amazon.jsii.Builder<IpInstanceProps>IpInstancePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.