@Stability(value=Experimental) public static final class CnameInstanceProps.Builder extends Object implements software.amazon.jsii.Builder<CnameInstanceProps>
CnameInstanceProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CnameInstanceProps |
build()
Builds the configured instance.
|
CnameInstanceProps.Builder |
customAttributes(Map<String,String> customAttributes)
Sets the value of
BaseInstanceProps.getCustomAttributes() |
CnameInstanceProps.Builder |
instanceCname(String instanceCname)
Sets the value of
CnameInstanceBaseProps.getInstanceCname() |
CnameInstanceProps.Builder |
instanceId(String instanceId)
Sets the value of
BaseInstanceProps.getInstanceId() |
CnameInstanceProps.Builder |
service(IService service)
Sets the value of
CnameInstanceProps.getService() |
@Stability(value=Experimental) public CnameInstanceProps.Builder service(IService service)
CnameInstanceProps.getService()service - The Cloudmap service this resource is registered to. This parameter is required.this@Stability(value=Experimental) public CnameInstanceProps.Builder instanceCname(String instanceCname)
CnameInstanceBaseProps.getInstanceCname()instanceCname - If the service configuration includes a CNAME record, the domain name that you want Route 53 to return in response to DNS queries, for example, example.com. This value is required if the service specified by ServiceId includes settings for an CNAME record. This parameter is required.this@Stability(value=Experimental) public CnameInstanceProps.Builder customAttributes(Map<String,String> customAttributes)
BaseInstanceProps.getCustomAttributes()customAttributes - Custom attributes of the instance.this@Stability(value=Experimental) public CnameInstanceProps.Builder instanceId(String instanceId)
BaseInstanceProps.getInstanceId()instanceId - The id of the instance resource.this@Stability(value=Experimental) public CnameInstanceProps build()
build in interface software.amazon.jsii.Builder<CnameInstanceProps>CnameInstancePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.