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.ExplicitlySetBmcModel
Provides 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 class
IpInventorySubnetResourceSummary.AssignedResourceType
Type of the resource.static class
IpInventorySubnetResourceSummary.AssociatedPublicIpPool
Public IP address Pool the IP address is allocated from.static class
IpInventorySubnetResourceSummary.Builder
static class
IpInventorySubnetResourceSummary.IpAddressLifetime
Lifetime of the allocated private IP address.static class
IpInventorySubnetResourceSummary.PublicIpLifetime
Lifetime 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, 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.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAddressType()
Address type of the allocated private IP address.String
getAssignedResourceName()
Name of the created resource.IpInventorySubnetResourceSummary.AssignedResourceType
getAssignedResourceType()
Type of the resource.Date
getAssignedTime()
Assigned time of the private IP address.String
getAssociatedPublicIp()
Associated public IP address for the private IP address.IpInventorySubnetResourceSummary.AssociatedPublicIpPool
getAssociatedPublicIpPool()
Public IP address Pool the IP address is allocated from.String
getDnsHostName()
DNS hostname of the IP address.String
getIpAddress()
Lists the allocated private IP address.IpInventorySubnetResourceSummary.IpAddressLifetime
getIpAddressLifetime()
Lifetime of the allocated private IP address.String
getIpId()
The OCID of the IP address.String
getParentCidr()
The address range the IP address is assigned from.IpInventorySubnetResourceSummary.PublicIpLifetime
getPublicIpLifetime()
Lifetime of the assigned public IP address.int
hashCode()
IpInventorySubnetResourceSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
IpInventorySubnetResourceSummary
@Deprecated @ConstructorProperties({"ipId","ipAddress","ipAddressLifetime","parentCidr","associatedPublicIp","publicIpLifetime","associatedPublicIpPool","dnsHostName","assignedResourceName","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, 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
-
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:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-