Class Account

java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingCollection<User>
com.google.common.collect.ForwardingSet<User>
org.jclouds.cloudstack.domain.Account
All Implemented Interfaces:
Iterable<User>, Collection<User>, Set<User>

public class Account extends com.google.common.collect.ForwardingSet<User>
Class Account
  • Constructor Details

  • Method Details

    • builder

      public static Account.Builder<?> builder()
    • toBuilder

      public Account.Builder<?> toBuilder()
    • getId

      public String getId()
      Returns:
      the id of the account
    • getType

      @Nullable public Account.Type getType()
      Returns:
      account type (admin, domain-admin, user)
    • getNetworkDomain

      @Nullable public String getNetworkDomain()
      Returns:
      the network domain
    • getDomain

      @Nullable public String getDomain()
      Returns:
      name of the Domain the account belongs to
    • getDomainId

      @Nullable public String getDomainId()
      Returns:
      id of the Domain the account belongs to
    • getIPsAvailable

      @Nullable public Long getIPsAvailable()
      Returns:
      the total number of public ip addresses available for this account to acquire, or null if unlimited
    • getIPLimit

      @Nullable public Long getIPLimit()
      Returns:
      the total number of public ip addresses this account can acquire, or null if unlimited
    • getIPs

      public long getIPs()
      Returns:
      the total number of public ip addresses allocated for this account
    • isCleanupRequired

      public boolean isCleanupRequired()
      Returns:
      true if the account requires cleanup
    • getName

      @Nullable public String getName()
      Returns:
      the name of the account
    • getReceivedBytes

      public long getReceivedBytes()
      Returns:
      the total number of network traffic bytes received
    • getSentBytes

      public long getSentBytes()
      Returns:
      the total number of network traffic bytes sent
    • getSnapshotsAvailable

      @Nullable public Long getSnapshotsAvailable()
      Returns:
      the total number of snapshots available for this account, or null if unlimited
    • getSnapshotLimit

      @Nullable public Long getSnapshotLimit()
      Returns:
      the total number of snapshots which can be stored by this account, or null if unlimited
    • getSnapshots

      public long getSnapshots()
      Returns:
      the total number of snapshots stored by this account
    • getState

      @Nullable public Account.State getState()
      Returns:
      the state of the account
    • getTemplatesAvailable

      @Nullable public Long getTemplatesAvailable()
      Returns:
      the total number of templates available to be created by this account, or null if unlimited
    • getTemplateLimit

      @Nullable public Long getTemplateLimit()
      Returns:
      the total number of templates which can be created by this account, or null if unlimited
    • getTemplates

      public long getTemplates()
      Returns:
      the total number of templates which have been created by this account
    • getVMsAvailable

      @Nullable public Long getVMsAvailable()
      Returns:
      the total number of virtual machines available for this account to acquire, or null if unlimited
    • getVMLimit

      @Nullable public Long getVMLimit()
      Returns:
      the total number of virtual machines that can be deployed by this account, or null if unlimited
    • getVMsRunning

      public long getVMsRunning()
      Returns:
      the total number of virtual machines running for this account
    • getVMsStopped

      public long getVMsStopped()
      Returns:
      the total number of virtual machines stopped for this account
    • getVMs

      public long getVMs()
      Returns:
      the total number of virtual machines deployed by this account
    • getVolumesAvailable

      @Nullable public Long getVolumesAvailable()
      Returns:
      the total volume available for this account, or null if unlimited
    • getVolumeLimit

      @Nullable public Long getVolumeLimit()
      Returns:
      the total volume which can be used by this account, or null if unlimited
    • getVolumes

      public long getVolumes()
      Returns:
      the total volume being used by this account
    • getUsers

      public Set<User> getUsers()
      Returns:
      the list of users associated with account
    • delegate

      protected Set<User> delegate()
      Specified by:
      delegate in class com.google.common.collect.ForwardingSet<User>
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface Collection<User>
      Specified by:
      hashCode in interface Set<User>
      Overrides:
      hashCode in class com.google.common.collect.ForwardingSet<User>
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface Collection<User>
      Specified by:
      equals in interface Set<User>
      Overrides:
      equals in class com.google.common.collect.ForwardingSet<User>
    • string

      protected com.google.common.base.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class com.google.common.collect.ForwardingObject