Package com.oracle.bmc.core.model
Class IpInventorySubnetResourceSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.core.model.IpInventorySubnetResourceSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class IpInventorySubnetResourceSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelProvides the IP Inventory details of a subnet and its associated resources.
Note: Objects should always be created or deserialized using theIpInventorySubnetResourceSummary.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theIpInventorySubnetResourceSummary.Builder, which maintain a set of all explicitly set fields calledIpInventorySubnetResourceSummary.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIpInventorySubnetResourceSummary.AssignedResourceTypeType of the resource.static classIpInventorySubnetResourceSummary.AssociatedPublicIpPoolPublic IP address Pool the IP address is allocated from.static classIpInventorySubnetResourceSummary.Builderstatic classIpInventorySubnetResourceSummary.IpAddressLifetimeLifetime of the allocated private IP address.static classIpInventorySubnetResourceSummary.PublicIpLifetimeLifetime of the assigned public IP address.
-
Constructor Summary
Constructors Constructor Description IpInventorySubnetResourceSummary(String ipId, String ipAddress, IpInventorySubnetResourceSummary.IpAddressLifetime ipAddressLifetime, String parentCidr, String associatedPublicIp, IpInventorySubnetResourceSummary.PublicIpLifetime publicIpLifetime, IpInventorySubnetResourceSummary.AssociatedPublicIpPool associatedPublicIpPool, String dnsHostName, String assignedResourceName, Boolean isPrimary, IpInventorySubnetResourceSummary.AssignedResourceType assignedResourceType, String addressType, Date assignedTime)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IpInventorySubnetResourceSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAddressType()Address type of the allocated private IP address.StringgetAssignedResourceName()Name of the created resource.IpInventorySubnetResourceSummary.AssignedResourceTypegetAssignedResourceType()Type of the resource.DategetAssignedTime()Assigned time of the private IP address.StringgetAssociatedPublicIp()Associated public IP address for the private IP address.IpInventorySubnetResourceSummary.AssociatedPublicIpPoolgetAssociatedPublicIpPool()Public IP address Pool the IP address is allocated from.StringgetDnsHostName()DNS hostname of the IP address.StringgetIpAddress()Lists the allocated private IP address.IpInventorySubnetResourceSummary.IpAddressLifetimegetIpAddressLifetime()Lifetime of the allocated private IP address.StringgetIpId()The OCID of the IP address.BooleangetIsPrimary()Primary flag for IP ResourceStringgetParentCidr()The address range the IP address is assigned from.IpInventorySubnetResourceSummary.PublicIpLifetimegetPublicIpLifetime()Lifetime of the assigned public IP address.inthashCode()IpInventorySubnetResourceSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
IpInventorySubnetResourceSummary
@Deprecated @ConstructorProperties({"ipId","ipAddress","ipAddressLifetime","parentCidr","associatedPublicIp","publicIpLifetime","associatedPublicIpPool","dnsHostName","assignedResourceName","isPrimary","assignedResourceType","addressType","assignedTime"}) public IpInventorySubnetResourceSummary(String ipId, String ipAddress, IpInventorySubnetResourceSummary.IpAddressLifetime ipAddressLifetime, String parentCidr, String associatedPublicIp, IpInventorySubnetResourceSummary.PublicIpLifetime publicIpLifetime, IpInventorySubnetResourceSummary.AssociatedPublicIpPool associatedPublicIpPool, String dnsHostName, String assignedResourceName, Boolean isPrimary, IpInventorySubnetResourceSummary.AssignedResourceType assignedResourceType, String addressType, Date assignedTime)
Deprecated.
-
-
Method Detail
-
builder
public static IpInventorySubnetResourceSummary.Builder builder()
Create a new builder.
-
toBuilder
public IpInventorySubnetResourceSummary.Builder toBuilder()
-
getIpAddress
public String getIpAddress()
Lists the allocated private IP address.- Returns:
- the value
-
getIpAddressLifetime
public IpInventorySubnetResourceSummary.IpAddressLifetime getIpAddressLifetime()
Lifetime of the allocated private IP address.- Returns:
- the value
-
getParentCidr
public String getParentCidr()
The address range the IP address is assigned from.- Returns:
- the value
-
getAssociatedPublicIp
public String getAssociatedPublicIp()
Associated public IP address for the private IP address.- Returns:
- the value
-
getPublicIpLifetime
public IpInventorySubnetResourceSummary.PublicIpLifetime getPublicIpLifetime()
Lifetime of the assigned public IP address.- Returns:
- the value
-
getAssociatedPublicIpPool
public IpInventorySubnetResourceSummary.AssociatedPublicIpPool getAssociatedPublicIpPool()
Public IP address Pool the IP address is allocated from.- Returns:
- the value
-
getDnsHostName
public String getDnsHostName()
DNS hostname of the IP address.- Returns:
- the value
-
getAssignedResourceName
public String getAssignedResourceName()
Name of the created resource.- Returns:
- the value
-
getIsPrimary
public Boolean getIsPrimary()
Primary flag for IP Resource- Returns:
- the value
-
getAssignedResourceType
public IpInventorySubnetResourceSummary.AssignedResourceType getAssignedResourceType()
Type of the resource.- Returns:
- the value
-
getAddressType
public String getAddressType()
Address type of the allocated private IP address.- Returns:
- the value
-
getAssignedTime
public Date getAssignedTime()
Assigned time of the private IP address.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-