Package com.oracle.bmc.oce.model
Class OceInstanceSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.oce.model.OceInstanceSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190912") public final class OceInstanceSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSummary of the OceInstance.
Note: Objects should always be created or deserialized using theOceInstanceSummary.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 theOceInstanceSummary.Builder, which maintain a set of all explicitly set fields calledOceInstanceSummary.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 classOceInstanceSummary.Builderstatic classOceInstanceSummary.InstanceAccessTypeFlag indicating whether the instance access is private or publicstatic classOceInstanceSummary.InstanceUsageTypeInstance type based on its usage
-
Constructor Summary
Constructors Constructor Description OceInstanceSummary(String id, String guid, String description, String compartmentId, String name, String tenancyId, String idcsTenancy, String tenancyName, OceInstanceSummary.InstanceUsageType instanceUsageType, List<String> addOnFeatures, String objectStorageNamespace, String adminEmail, OceInstance.UpgradeSchedule upgradeSchedule, String wafPrimaryDomain, OceInstanceSummary.InstanceAccessType instanceAccessType, LicenseType instanceLicenseType, Date timeCreated, Date timeUpdated, LifecycleState lifecycleState, LifecycleDetails lifecycleDetails, String drRegion, String stateMessage, Map<String,Object> service, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OceInstanceSummary.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getAddOnFeatures()a list of add-on features for the ocm instanceStringgetAdminEmail()Admin Email for NotificationStringgetCompartmentId()Compartment IdentifierMap<String,Map<String,Object>>getDefinedTags()Usage of predefined tag keys.StringgetDescription()OceInstance description, can be updatedStringgetDrRegion()disaster recovery paired ragion nameMap<String,String>getFreeformTags()Simple key-value pair that is applied without any predefined name, type or scope.StringgetGuid()Unique GUID identifier that is immutable on creationStringgetId()Unique identifier that is immutable on creationStringgetIdcsTenancy()IDCS Tenancy IdentifierOceInstanceSummary.InstanceAccessTypegetInstanceAccessType()Flag indicating whether the instance access is private or publicLicenseTypegetInstanceLicenseType()Flag indicating whether the instance license is new cloud or bring your own licenseOceInstanceSummary.InstanceUsageTypegetInstanceUsageType()Instance type based on its usageLifecycleDetailsgetLifecycleDetails()Details of the current state of the instance lifecycleLifecycleStategetLifecycleState()The current state of the instance lifecycle.StringgetName()OceInstance NameStringgetObjectStorageNamespace()Object Storage Namespace of tenancyMap<String,Object>getService()SERVICE data.StringgetStateMessage()An message describing the current state in more detail.Map<String,Map<String,Object>>getSystemTags()Usage of system tag keys.StringgetTenancyId()Tenancy IdentifierStringgetTenancyName()Tenancy NameDategetTimeCreated()The time the the OceInstance was created.DategetTimeUpdated()The time the OceInstance was updated.OceInstance.UpgradeSchedulegetUpgradeSchedule()Upgrade schedule type representing service to be upgraded immediately whenever latest version is released or delay upgrade of the service to previous released versionStringgetWafPrimaryDomain()Web Application Firewall(WAF) primary domaininthashCode()OceInstanceSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
OceInstanceSummary
@Deprecated @ConstructorProperties({"id","guid","description","compartmentId","name","tenancyId","idcsTenancy","tenancyName","instanceUsageType","addOnFeatures","objectStorageNamespace","adminEmail","upgradeSchedule","wafPrimaryDomain","instanceAccessType","instanceLicenseType","timeCreated","timeUpdated","lifecycleState","lifecycleDetails","drRegion","stateMessage","service","freeformTags","definedTags","systemTags"}) public OceInstanceSummary(String id, String guid, String description, String compartmentId, String name, String tenancyId, String idcsTenancy, String tenancyName, OceInstanceSummary.InstanceUsageType instanceUsageType, List<String> addOnFeatures, String objectStorageNamespace, String adminEmail, OceInstance.UpgradeSchedule upgradeSchedule, String wafPrimaryDomain, OceInstanceSummary.InstanceAccessType instanceAccessType, LicenseType instanceLicenseType, Date timeCreated, Date timeUpdated, LifecycleState lifecycleState, LifecycleDetails lifecycleDetails, String drRegion, String stateMessage, Map<String,Object> service, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
-
Method Detail
-
builder
public static OceInstanceSummary.Builder builder()
Create a new builder.
-
toBuilder
public OceInstanceSummary.Builder toBuilder()
-
getId
public String getId()
Unique identifier that is immutable on creation- Returns:
- the value
-
getGuid
public String getGuid()
Unique GUID identifier that is immutable on creation- Returns:
- the value
-
getDescription
public String getDescription()
OceInstance description, can be updated- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
Compartment Identifier- Returns:
- the value
-
getName
public String getName()
OceInstance Name- Returns:
- the value
-
getTenancyId
public String getTenancyId()
Tenancy Identifier- Returns:
- the value
-
getIdcsTenancy
public String getIdcsTenancy()
IDCS Tenancy Identifier- Returns:
- the value
-
getTenancyName
public String getTenancyName()
Tenancy Name- Returns:
- the value
-
getInstanceUsageType
public OceInstanceSummary.InstanceUsageType getInstanceUsageType()
Instance type based on its usage- Returns:
- the value
-
getAddOnFeatures
public List<String> getAddOnFeatures()
a list of add-on features for the ocm instance- Returns:
- the value
-
getObjectStorageNamespace
public String getObjectStorageNamespace()
Object Storage Namespace of tenancy- Returns:
- the value
-
getAdminEmail
public String getAdminEmail()
Admin Email for Notification- Returns:
- the value
-
getUpgradeSchedule
public OceInstance.UpgradeSchedule getUpgradeSchedule()
Upgrade schedule type representing service to be upgraded immediately whenever latest version is released or delay upgrade of the service to previous released version- Returns:
- the value
-
getWafPrimaryDomain
public String getWafPrimaryDomain()
Web Application Firewall(WAF) primary domain- Returns:
- the value
-
getInstanceAccessType
public OceInstanceSummary.InstanceAccessType getInstanceAccessType()
Flag indicating whether the instance access is private or public- Returns:
- the value
-
getInstanceLicenseType
public LicenseType getInstanceLicenseType()
Flag indicating whether the instance license is new cloud or bring your own license- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The time the the OceInstance was created.An RFC3339 formatted datetime string
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The time the OceInstance was updated.An RFC3339 formatted datetime string
- Returns:
- the value
-
getLifecycleState
public LifecycleState getLifecycleState()
The current state of the instance lifecycle.- Returns:
- the value
-
getLifecycleDetails
public LifecycleDetails getLifecycleDetails()
Details of the current state of the instance lifecycle- Returns:
- the value
-
getDrRegion
public String getDrRegion()
disaster recovery paired ragion name- Returns:
- the value
-
getStateMessage
public String getStateMessage()
An message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Returns:
- the value
-
getService
public Map<String,Object> getService()
SERVICE data.Example: {“service”: {“IDCS”: “value”}}
- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Usage of predefined tag keys.These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns:
- the value
-
getSystemTags
public Map<String,Map<String,Object>> getSystemTags()
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- 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
-
-