public static final class NonIpInstanceProps.Builder
extends java.lang.Object
NonIpInstanceProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NonIpInstanceProps |
build()
Builds the configured instance.
|
NonIpInstanceProps.Builder |
customAttributes(java.util.Map<java.lang.String,java.lang.String> customAttributes)
Sets the value of
BaseInstanceProps.getCustomAttributes() |
NonIpInstanceProps.Builder |
instanceId(java.lang.String instanceId)
Sets the value of
BaseInstanceProps.getInstanceId() |
NonIpInstanceProps.Builder |
service(IService service)
Sets the value of
NonIpInstanceProps.getService() |
public NonIpInstanceProps.Builder service(IService service)
NonIpInstanceProps.getService()
service
- The Cloudmap service this resource is registered to. This parameter is required.this
public NonIpInstanceProps.Builder customAttributes(java.util.Map<java.lang.String,java.lang.String> customAttributes)
BaseInstanceProps.getCustomAttributes()
customAttributes
- Custom attributes of the instance.this
public NonIpInstanceProps.Builder instanceId(java.lang.String instanceId)
BaseInstanceProps.getInstanceId()
instanceId
- The id of the instance resource.this
public NonIpInstanceProps build()
NonIpInstanceProps
java.lang.NullPointerException
- if any required attribute was not provided