Class PublicIPAddress

java.lang.Object
org.jclouds.cloudstack.domain.PublicIPAddress

public class PublicIPAddress extends Object
Class PublicIPAddress
  • Constructor Details

  • Method Details

    • builder

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

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

      public String getId()
      Returns:
      public IP address id
    • getAccount

      @Nullable public String getAccount()
      Returns:
      the account the public IP address is associated with
    • getAllocated

      @Nullable public Date getAllocated()
      Returns:
      date the public IP address was acquired
    • getAssociatedNetworkId

      @Nullable public String getAssociatedNetworkId()
      Returns:
      the ID of the Network associated with the IP address
    • getDomain

      @Nullable public String getDomain()
      Returns:
      the domain the public IP address is associated with
    • getDomainId

      @Nullable public String getDomainId()
      Returns:
      the domain ID the public IP address is associated with
    • isUsesVirtualNetwork

      public boolean isUsesVirtualNetwork()
      Returns:
      uses virtual network
    • getIPAddress

      @Nullable public String getIPAddress()
      Returns:
      public IP address
    • isSourceNAT

      public boolean isSourceNAT()
      Returns:
      true if the IP address is a source nat address, false otherwise
    • isStaticNAT

      public boolean isStaticNAT()
      Returns:
      true if this ip is for static nat, false otherwise
    • getNetworkId

      @Nullable public String getNetworkId()
      Returns:
      the ID of the Network where ip belongs to
    • getState

      @Nullable public PublicIPAddress.State getState()
      Returns:
      State of the ip address. Can be: Allocating, Allocated and Releasing
    • getVirtualMachineDisplayName

      @Nullable public String getVirtualMachineDisplayName()
      Returns:
      virtual machine display name the ip address is assigned to (not null only for static nat Ip)
    • getVirtualMachineId

      @Nullable public String getVirtualMachineId()
      Returns:
      virtual machine id the ip address is assigned to (not null only for static nat Ip)
    • getVirtualMachineName

      @Nullable public String getVirtualMachineName()
      Returns:
      virtual machine name the ip address is assigned to (not null only for static nat Ip)
    • getVLANId

      @Nullable public String getVLANId()
      Returns:
      the ID of the VLAN associated with the IP address
    • getVLANName

      @Nullable public String getVLANName()
      Returns:
      the VLAN associated with the IP address
    • getZoneId

      @Nullable public String getZoneId()
      Returns:
      the ID of the zone the public IP address belongs to
    • getZoneName

      @Nullable public String getZoneName()
      Returns:
      the name of the zone the public IP address belongs to
    • getJobId

      @Nullable public String getJobId()
      Returns:
      shows the current pending asynchronous job ID. This tag is not returned if no current pending jobs are acting on the virtual machine
    • getJobStatus

      @Nullable public Integer getJobStatus()
      Returns:
      shows the current pending asynchronous job status
    • getTags

      public Set<Tag> getTags()
      Returns:
      the tags for the public IP address
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • string

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

      public String toString()
      Overrides:
      toString in class Object