public static final class CnameInstanceBaseProps.Builder
extends java.lang.Object
CnameInstanceBaseProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CnameInstanceBaseProps |
build()
Builds the configured instance.
|
CnameInstanceBaseProps.Builder |
customAttributes(java.util.Map<java.lang.String,java.lang.String> customAttributes)
Sets the value of
BaseInstanceProps.getCustomAttributes() |
CnameInstanceBaseProps.Builder |
instanceCname(java.lang.String instanceCname)
Sets the value of
CnameInstanceBaseProps.getInstanceCname() |
CnameInstanceBaseProps.Builder |
instanceId(java.lang.String instanceId)
Sets the value of
BaseInstanceProps.getInstanceId() |
public CnameInstanceBaseProps.Builder instanceCname(java.lang.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
public CnameInstanceBaseProps.Builder customAttributes(java.util.Map<java.lang.String,java.lang.String> customAttributes)
BaseInstanceProps.getCustomAttributes()
customAttributes
- Custom attributes of the instance.this
public CnameInstanceBaseProps.Builder instanceId(java.lang.String instanceId)
BaseInstanceProps.getInstanceId()
instanceId
- The id of the instance resource.this
public CnameInstanceBaseProps build()
CnameInstanceBaseProps
java.lang.NullPointerException
- if any required attribute was not provided