Package org.jclouds.cloudstack.domain
Class PublicIPAddress
java.lang.Object
org.jclouds.cloudstack.domain.PublicIPAddress
Class PublicIPAddress
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
PublicIPAddress.Builder<T extends PublicIPAddress.Builder<T>>
static enum
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PublicIPAddress
(String id, String account, Date allocated, String associatedNetworkId, String domain, String domainId, boolean usesVirtualNetwork, String IPAddress, boolean isSourceNAT, boolean isStaticNAT, String networkId, PublicIPAddress.State state, String virtualMachineDisplayName, String virtualMachineId, String virtualMachineName, String VLANId, String VLANName, String zoneId, String zoneName, String jobId, Integer jobStatus, Set<Tag> tags) -
Method Summary
-
Constructor Details
-
PublicIPAddress
@ConstructorProperties({"id","account","allocated","associatednetworkid","domain","domainid","forvirtualnetwork","ipaddress","issourcenat","isstaticnat","networkid","state","virtualmachinedisplayname","virtualmachineid","virtualmachinename","VLANid","VLANname","zoneid","zonename","jobid","jobstatus","tags"}) protected PublicIPAddress(String id, @Nullable String account, @Nullable Date allocated, @Nullable String associatedNetworkId, @Nullable String domain, @Nullable String domainId, boolean usesVirtualNetwork, @Nullable String IPAddress, boolean isSourceNAT, boolean isStaticNAT, @Nullable String networkId, @Nullable PublicIPAddress.State state, @Nullable String virtualMachineDisplayName, @Nullable String virtualMachineId, @Nullable String virtualMachineName, @Nullable String VLANId, @Nullable String VLANName, @Nullable String zoneId, @Nullable String zoneName, @Nullable String jobId, @Nullable Integer jobStatus, @Nullable Set<Tag> tags)
-
-
Method Details
-
builder
-
toBuilder
-
getId
- Returns:
- public IP address id
-
getAccount
- Returns:
- the account the public IP address is associated with
-
getAllocated
- Returns:
- date the public IP address was acquired
-
getAssociatedNetworkId
- Returns:
- the ID of the Network associated with the IP address
-
getDomain
- Returns:
- the domain the public IP address is associated with
-
getDomainId
- Returns:
- the domain ID the public IP address is associated with
-
isUsesVirtualNetwork
public boolean isUsesVirtualNetwork()- Returns:
- uses virtual network
-
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
- Returns:
- the ID of the Network where ip belongs to
-
getState
- Returns:
- State of the ip address. Can be: Allocating, Allocated and Releasing
-
getVirtualMachineDisplayName
- Returns:
- virtual machine display name the ip address is assigned to (not null only for static nat Ip)
-
getVirtualMachineId
- Returns:
- virtual machine id the ip address is assigned to (not null only for static nat Ip)
-
getVirtualMachineName
- Returns:
- virtual machine name the ip address is assigned to (not null only for static nat Ip)
-
getVLANId
- Returns:
- the ID of the VLAN associated with the IP address
-
getVLANName
- Returns:
- the VLAN associated with the IP address
-
getZoneId
- Returns:
- the ID of the zone the public IP address belongs to
-
getZoneName
- Returns:
- the name of the zone the public IP address belongs to
-
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
- Returns:
- shows the current pending asynchronous job status
-
getTags
- Returns:
- the tags for the public IP address
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-