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 SummaryNested 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 SummaryConstructors 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 SummaryAll 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- 
builderpublic static OceInstanceSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic OceInstanceSummary.Builder toBuilder() 
 - 
getIdpublic String getId() Unique identifier that is immutable on creation- Returns:
- the value
 
 - 
getGuidpublic String getGuid() Unique GUID identifier that is immutable on creation- Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() OceInstance description, can be updated- Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() Compartment Identifier- Returns:
- the value
 
 - 
getNamepublic String getName() OceInstance Name- Returns:
- the value
 
 - 
getTenancyIdpublic String getTenancyId() Tenancy Identifier- Returns:
- the value
 
 - 
getIdcsTenancypublic String getIdcsTenancy() IDCS Tenancy Identifier- Returns:
- the value
 
 - 
getTenancyNamepublic String getTenancyName() Tenancy Name- Returns:
- the value
 
 - 
getInstanceUsageTypepublic OceInstanceSummary.InstanceUsageType getInstanceUsageType() Instance type based on its usage- Returns:
- the value
 
 - 
getAddOnFeaturespublic List<String> getAddOnFeatures() a list of add-on features for the ocm instance- Returns:
- the value
 
 - 
getObjectStorageNamespacepublic String getObjectStorageNamespace() Object Storage Namespace of tenancy- Returns:
- the value
 
 - 
getAdminEmailpublic String getAdminEmail() Admin Email for Notification- Returns:
- the value
 
 - 
getUpgradeSchedulepublic 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
 
 - 
getWafPrimaryDomainpublic String getWafPrimaryDomain() Web Application Firewall(WAF) primary domain- Returns:
- the value
 
 - 
getInstanceAccessTypepublic OceInstanceSummary.InstanceAccessType getInstanceAccessType() Flag indicating whether the instance access is private or public- Returns:
- the value
 
 - 
getInstanceLicenseTypepublic LicenseType getInstanceLicenseType() Flag indicating whether the instance license is new cloud or bring your own license- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The time the the OceInstance was created.An RFC3339 formatted datetime string - Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The time the OceInstance was updated.An RFC3339 formatted datetime string - Returns:
- the value
 
 - 
getLifecycleStatepublic LifecycleState getLifecycleState() The current state of the instance lifecycle.- Returns:
- the value
 
 - 
getLifecycleDetailspublic LifecycleDetails getLifecycleDetails() Details of the current state of the instance lifecycle- Returns:
- the value
 
 - 
getDrRegionpublic String getDrRegion() disaster recovery paired ragion name- Returns:
- the value
 
 - 
getStateMessagepublic 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
 
 - 
getServicepublic Map<String,Object> getService() SERVICE data.Example: {“service”: {“IDCS”: “value”}} - Returns:
- the value
 
 - 
getFreeformTagspublic 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
 
 - 
getDefinedTagspublic 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
 
 - 
getSystemTagspublic 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
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-