@ConfigurationProperties(value="instance") public static class ApplicationConfiguration.InstanceConfiguration extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INSTANCE_ID
Property name for Micronaut instance id.
|
static java.lang.String |
PREFIX
Prefix for Micronaut instance settings.
|
Constructor and Description |
---|
InstanceConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.String> |
getGroup() |
java.util.Optional<java.lang.String> |
getId() |
java.util.Map<java.lang.String,java.lang.String> |
getMetadata() |
java.util.Optional<java.lang.String> |
getZone() |
void |
setGroup(java.lang.String group) |
void |
setId(java.lang.String id) |
void |
setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata) |
void |
setZone(java.lang.String zone) |
public static final java.lang.String PREFIX
public static final java.lang.String INSTANCE_ID
public java.util.Optional<java.lang.String> getId()
public void setId(java.lang.String id)
id
- The instance identifierpublic java.util.Map<java.lang.String,java.lang.String> getMetadata()
public void setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
metadata
- The metadata to associate with the instancepublic java.util.Optional<java.lang.String> getGroup()
public void setGroup(java.lang.String group)
group
- The instance auto scaling grouppublic java.util.Optional<java.lang.String> getZone()
public void setZone(java.lang.String zone)
zone
- The instance availability zone