@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 the IpInventorySubnetResourceSummary.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 the IpInventorySubnetResourceSummary.Builder
, which maintain a
set of all explicitly set fields called IpInventorySubnetResourceSummary.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and 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.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static IpInventorySubnetResourceSummary.Builder builder()
Create a new builder.
public IpInventorySubnetResourceSummary.Builder toBuilder()
public String getIpAddress()
Lists the allocated private IP address.
public IpInventorySubnetResourceSummary.IpAddressLifetime getIpAddressLifetime()
Lifetime of the allocated private IP address.
public String getParentCidr()
The address range the IP address is assigned from.
public String getAssociatedPublicIp()
Associated public IP address for the private IP address.
public IpInventorySubnetResourceSummary.PublicIpLifetime getPublicIpLifetime()
Lifetime of the assigned public IP address.
public IpInventorySubnetResourceSummary.AssociatedPublicIpPool getAssociatedPublicIpPool()
Public IP address Pool the IP address is allocated from.
public String getDnsHostName()
DNS hostname of the IP address.
public String getAssignedResourceName()
Name of the created resource.
public IpInventorySubnetResourceSummary.AssignedResourceType getAssignedResourceType()
Type of the resource.
public String getAddressType()
Address type of the allocated private IP address.
public Date getAssignedTime()
Assigned time of the private IP address.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.