Class AwsVirtualMachineBiz

java.lang.Object
net.solarnetwork.service.support.BasicIdentifiable
net.solarnetwork.central.cloud.aws.biz.AwsVirtualMachineBiz
All Implemented Interfaces:
VirtualMachineBiz, net.solarnetwork.service.Identifiable

public class AwsVirtualMachineBiz extends net.solarnetwork.service.support.BasicIdentifiable implements VirtualMachineBiz
AWS SDK implementation of VirtualMachineBiz.
  • Field Summary

    Fields inherited from interface net.solarnetwork.service.Identifiable

    GROUP_UID_PROPERTY, UID_PROPERTY
  • Constructor Summary

    Constructors
    Constructor
    Description
    AwsVirtualMachineBiz(String region, String accessKey, String accessKeySecret)
    Constructor.
    AwsVirtualMachineBiz(software.amazon.awssdk.regions.Region region, software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Change the state of a set of virtual machines.
    Get the state for a set of virtual machines.
    Get a virtual machine by its display name.
    Get a set of virtual machines by their IDs.

    Methods inherited from class net.solarnetwork.service.support.BasicIdentifiable

    basicIdentifiableMetadataSettings, basicIdentifiableSettings, basicIdentifiableSettings, basicIdentifiableSettings, doubleMetadataValue, getDisplayName, getGroupUid, getGroupUID, getMessageSource, getMetadata, getMetadataCount, getUid, getUID, integerMetadataValue, metadataValue, numberMetadataValue, saveMetadataValue, saveMetadataValue, setDisplayName, setGroupUid, setGroupUID, setMessageSource, setMetadata, setMetadataCount, setUid, setUID, smartMetadataValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.solarnetwork.service.Identifiable

    getDisplayName, getGroupUid, getUid
  • Constructor Details

    • AwsVirtualMachineBiz

      public AwsVirtualMachineBiz(String region, String accessKey, String accessKeySecret)
      Constructor.
      Parameters:
      region - the AWS region name
      accessKey - the access key
      accessKeySecret - the access key secret
    • AwsVirtualMachineBiz

      public AwsVirtualMachineBiz(software.amazon.awssdk.regions.Region region, software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider)
      Constructor.
      Parameters:
      region - the AWS region
      credentialsProvider - the credentials provider
  • Method Details