Class DigitalOceanInstanceMetadata
java.lang.Object
io.micronaut.discovery.cloud.AbstractComputeInstanceMetadata
io.micronaut.discovery.cloud.digitalocean.DigitalOceanInstanceMetadata
- All Implemented Interfaces:
ComputeInstanceMetadata
Represents
ComputeInstanceMetadata
for Digital Ocean.- Since:
- 1.1
- Author:
- Alvaro Sanchez-Mariscal
-
Field Summary
Fields inherited from class io.micronaut.discovery.cloud.AbstractComputeInstanceMetadata
availabilityZone, region
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setUserData
(String userData) void
setVendorData
(String vendorData) Methods inherited from class io.micronaut.discovery.cloud.AbstractComputeInstanceMetadata
getAccount, getAvailabilityZone, getDescription, getImageId, getInstanceId, getInterfaces, getLocalHostname, getMachineType, getMetadata, getName, getPrivateHostname, getPrivateIpV4, getPrivateIpV6, getPublicHostname, getPublicIpV4, getPublicIpV6, getRegion, getTags, isCached, setAccount, setAvailabilityZone, setCached, setDescription, setImageId, setInstanceId, setInterfaces, setLocalHostname, setMachineType, setMetadata, setName, setPrivateIpV4, setPrivateIpV6, setPublicHostname, setPublicIpV4, setPublicIpV6, setRegion, setTags
-
Constructor Details
-
DigitalOceanInstanceMetadata
public DigitalOceanInstanceMetadata()
-
-
Method Details
-
getComputePlatform
- Returns:
- The
ComputePlatform
-
getUserData
- Returns:
- the user data
-
setUserData
- Parameters:
userData
- the user data
-
getVendorData
- Returns:
- the vendor data
-
setVendorData
- Parameters:
vendorData
- the vendor data
-