@Stability(value=Stable) public static final class AliasTargetInstanceProps.Builder extends Object implements software.amazon.jsii.Builder<AliasTargetInstanceProps>
AliasTargetInstanceProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AliasTargetInstanceProps |
build()
Builds the configured instance.
|
AliasTargetInstanceProps.Builder |
customAttributes(Map<String,String> customAttributes)
Sets the value of
BaseInstanceProps.getCustomAttributes() |
AliasTargetInstanceProps.Builder |
dnsName(String dnsName)
Sets the value of
AliasTargetInstanceProps.getDnsName() |
AliasTargetInstanceProps.Builder |
instanceId(String instanceId)
Sets the value of
BaseInstanceProps.getInstanceId() |
AliasTargetInstanceProps.Builder |
service(IService service)
Sets the value of
AliasTargetInstanceProps.getService() |
@Stability(value=Stable) public AliasTargetInstanceProps.Builder dnsName(String dnsName)
AliasTargetInstanceProps.getDnsName()dnsName - DNS name of the target. This parameter is required.this@Stability(value=Stable) public AliasTargetInstanceProps.Builder service(IService service)
AliasTargetInstanceProps.getService()service - The Cloudmap service this resource is registered to. This parameter is required.this@Stability(value=Stable) public AliasTargetInstanceProps.Builder customAttributes(Map<String,String> customAttributes)
BaseInstanceProps.getCustomAttributes()customAttributes - Custom attributes of the instance.this@Stability(value=Stable) public AliasTargetInstanceProps.Builder instanceId(String instanceId)
BaseInstanceProps.getInstanceId()instanceId - The id of the instance resource.this@Stability(value=Stable) public AliasTargetInstanceProps build()
build in interface software.amazon.jsii.Builder<AliasTargetInstanceProps>AliasTargetInstancePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.