@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class InventoryVcnSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Provides the summary of a VCN’s IP Inventory data under specified compartments.
Note: Objects should always be created or deserialized using the InventoryVcnSummary.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 InventoryVcnSummary.Builder
, which maintain a
set of all explicitly set fields called InventoryVcnSummary.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 |
InventoryVcnSummary.Builder |
static class |
InventoryVcnSummary.ResourceType
Resource types of the VCN.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
InventoryVcnSummary(String vcnId,
String vcnName,
InventoryVcnSummary.ResourceType resourceType,
List<InventoryVcnCidrBlockSummary> inventoryVcnCidrBlockCollection,
String dnsDomainName,
String region,
String compartmentId,
List<InventorySubnetSummary> inventorySubnetcollection)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static InventoryVcnSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
The OCID of
the compartment.
|
String |
getDnsDomainName()
DNS domain name of the VCN.
|
List<InventorySubnetSummary> |
getInventorySubnetcollection()
Lists
Subnetcollection objects |
List<InventoryVcnCidrBlockSummary> |
getInventoryVcnCidrBlockCollection()
Lists
InventoryVcnCidrBlockSummary objects. |
String |
getRegion()
Region name of the VCN.
|
InventoryVcnSummary.ResourceType |
getResourceType()
Resource types of the VCN.
|
String |
getVcnId()
The OCID of
the VCN .
|
String |
getVcnName()
Name of the VCN.
|
int |
hashCode() |
InventoryVcnSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"vcnId","vcnName","resourceType","inventoryVcnCidrBlockCollection","dnsDomainName","region","compartmentId","inventorySubnetcollection"}) public InventoryVcnSummary(String vcnId, String vcnName, InventoryVcnSummary.ResourceType resourceType, List<InventoryVcnCidrBlockSummary> inventoryVcnCidrBlockCollection, String dnsDomainName, String region, String compartmentId, List<InventorySubnetSummary> inventorySubnetcollection)
public static InventoryVcnSummary.Builder builder()
Create a new builder.
public InventoryVcnSummary.Builder toBuilder()
public String getVcnName()
Name of the VCN.
public InventoryVcnSummary.ResourceType getResourceType()
Resource types of the VCN.
public List<InventoryVcnCidrBlockSummary> getInventoryVcnCidrBlockCollection()
Lists InventoryVcnCidrBlockSummary
objects.
public String getDnsDomainName()
DNS domain name of the VCN.
public String getRegion()
Region name of the VCN.
public List<InventorySubnetSummary> getInventorySubnetcollection()
Lists Subnetcollection
objects
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.