All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.oracle.bmc.database.model.AutonomousExadataInfrastructure Maven / Gradle / Ivy

/**
 * Copyright (c) 2016, 2024, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */
package com.oracle.bmc.database.model;

/**
 * 
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link * #hashCode()} and {@link #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 {@code null} from unset {@code * null}). */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") @com.fasterxml.jackson.databind.annotation.JsonDeserialize( builder = AutonomousExadataInfrastructure.Builder.class) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) public final class AutonomousExadataInfrastructure extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated @java.beans.ConstructorProperties({ "id", "compartmentId", "displayName", "availabilityDomain", "subnetId", "nsgIds", "shape", "hostname", "domain", "lifecycleState", "lifecycleDetails", "licenseModel", "timeCreated", "maintenanceWindow", "lastMaintenanceRunId", "nextMaintenanceRunId", "freeformTags", "definedTags", "scanDnsName", "zoneId" }) public AutonomousExadataInfrastructure( String id, String compartmentId, String displayName, String availabilityDomain, String subnetId, java.util.List nsgIds, String shape, String hostname, String domain, LifecycleState lifecycleState, String lifecycleDetails, LicenseModel licenseModel, java.util.Date timeCreated, MaintenanceWindow maintenanceWindow, String lastMaintenanceRunId, String nextMaintenanceRunId, java.util.Map freeformTags, java.util.Map> definedTags, String scanDnsName, String zoneId) { super(); this.id = id; this.compartmentId = compartmentId; this.displayName = displayName; this.availabilityDomain = availabilityDomain; this.subnetId = subnetId; this.nsgIds = nsgIds; this.shape = shape; this.hostname = hostname; this.domain = domain; this.lifecycleState = lifecycleState; this.lifecycleDetails = lifecycleDetails; this.licenseModel = licenseModel; this.timeCreated = timeCreated; this.maintenanceWindow = maintenanceWindow; this.lastMaintenanceRunId = lastMaintenanceRunId; this.nextMaintenanceRunId = nextMaintenanceRunId; this.freeformTags = freeformTags; this.definedTags = definedTags; this.scanDnsName = scanDnsName; this.zoneId = zoneId; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** The OCID of the Autonomous Exadata Infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** * The OCID of the Autonomous Exadata Infrastructure. * * @param id the value to set * @return this builder */ public Builder id(String id) { this.id = id; this.__explicitlySet__.add("id"); return this; } /** The OCID of the compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** * The OCID of the compartment. * * @param compartmentId the value to set * @return this builder */ public Builder compartmentId(String compartmentId) { this.compartmentId = compartmentId; this.__explicitlySet__.add("compartmentId"); return this; } /** The user-friendly name for the Autonomous Exadata Infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("displayName") private String displayName; /** * The user-friendly name for the Autonomous Exadata Infrastructure. * * @param displayName the value to set * @return this builder */ public Builder displayName(String displayName) { this.displayName = displayName; this.__explicitlySet__.add("displayName"); return this; } /** * The name of the availability domain that the Autonomous Exadata Infrastructure is located * in. */ @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain") private String availabilityDomain; /** * The name of the availability domain that the Autonomous Exadata Infrastructure is located * in. * * @param availabilityDomain the value to set * @return this builder */ public Builder availabilityDomain(String availabilityDomain) { this.availabilityDomain = availabilityDomain; this.__explicitlySet__.add("availabilityDomain"); return this; } /** * The OCID of the subnet the Autonomous Exadata Infrastructure is associated with. * *

*Subnet Restrictions:** - For Autonomous Databases with Autonomous Exadata * Infrastructure, do not use a subnet that overlaps with 192.168.128.0/20 * *

These subnets are used by the Oracle Clusterware private interconnect on the database * instance. Specifying an overlapping subnet will cause the private interconnect to * malfunction. This restriction applies to both the client subnet and backup subnet. */ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") private String subnetId; /** * The OCID of the subnet the Autonomous Exadata Infrastructure is associated with. * *

*Subnet Restrictions:** - For Autonomous Databases with Autonomous Exadata * Infrastructure, do not use a subnet that overlaps with 192.168.128.0/20 * *

These subnets are used by the Oracle Clusterware private interconnect on the database * instance. Specifying an overlapping subnet will cause the private interconnect to * malfunction. This restriction applies to both the client subnet and backup subnet. * * @param subnetId the value to set * @return this builder */ public Builder subnetId(String subnetId) { this.subnetId = subnetId; this.__explicitlySet__.add("subnetId"); return this; } /** * The list of * [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for the * network security groups (NSGs) to which this resource belongs. Setting this to an empty * list removes all resources from all NSGs. For more information about NSGs, see [Security * Rules](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). * **NsgIds restrictions:** - A network security group (NSG) is optional for Autonomous * Databases with private access. The nsgIds list can be empty. */ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") private java.util.List nsgIds; /** * The list of * [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for the * network security groups (NSGs) to which this resource belongs. Setting this to an empty * list removes all resources from all NSGs. For more information about NSGs, see [Security * Rules](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). * **NsgIds restrictions:** - A network security group (NSG) is optional for Autonomous * Databases with private access. The nsgIds list can be empty. * * @param nsgIds the value to set * @return this builder */ public Builder nsgIds(java.util.List nsgIds) { this.nsgIds = nsgIds; this.__explicitlySet__.add("nsgIds"); return this; } /** * The shape of the Autonomous Exadata Infrastructure. The shape determines resources to * allocate to the Autonomous Exadata Infrastructure (CPU cores, memory and storage). */ @com.fasterxml.jackson.annotation.JsonProperty("shape") private String shape; /** * The shape of the Autonomous Exadata Infrastructure. The shape determines resources to * allocate to the Autonomous Exadata Infrastructure (CPU cores, memory and storage). * * @param shape the value to set * @return this builder */ public Builder shape(String shape) { this.shape = shape; this.__explicitlySet__.add("shape"); return this; } /** The host name for the Autonomous Exadata Infrastructure node. */ @com.fasterxml.jackson.annotation.JsonProperty("hostname") private String hostname; /** * The host name for the Autonomous Exadata Infrastructure node. * * @param hostname the value to set * @return this builder */ public Builder hostname(String hostname) { this.hostname = hostname; this.__explicitlySet__.add("hostname"); return this; } /** The domain name for the Autonomous Exadata Infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("domain") private String domain; /** * The domain name for the Autonomous Exadata Infrastructure. * * @param domain the value to set * @return this builder */ public Builder domain(String domain) { this.domain = domain; this.__explicitlySet__.add("domain"); return this; } /** The current lifecycle state of the Autonomous Exadata Infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") private LifecycleState lifecycleState; /** * The current lifecycle state of the Autonomous Exadata Infrastructure. * * @param lifecycleState the value to set * @return this builder */ public Builder lifecycleState(LifecycleState lifecycleState) { this.lifecycleState = lifecycleState; this.__explicitlySet__.add("lifecycleState"); return this; } /** * Additional information about the current lifecycle state of the Autonomous Exadata * Infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails") private String lifecycleDetails; /** * Additional information about the current lifecycle state of the Autonomous Exadata * Infrastructure. * * @param lifecycleDetails the value to set * @return this builder */ public Builder lifecycleDetails(String lifecycleDetails) { this.lifecycleDetails = lifecycleDetails; this.__explicitlySet__.add("lifecycleDetails"); return this; } /** * The Oracle license model that applies to all databases in the Autonomous Exadata * Infrastructure. The default is BRING_YOUR_OWN_LICENSE. */ @com.fasterxml.jackson.annotation.JsonProperty("licenseModel") private LicenseModel licenseModel; /** * The Oracle license model that applies to all databases in the Autonomous Exadata * Infrastructure. The default is BRING_YOUR_OWN_LICENSE. * * @param licenseModel the value to set * @return this builder */ public Builder licenseModel(LicenseModel licenseModel) { this.licenseModel = licenseModel; this.__explicitlySet__.add("licenseModel"); return this; } /** The date and time the Autonomous Exadata Infrastructure was created. */ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") private java.util.Date timeCreated; /** * The date and time the Autonomous Exadata Infrastructure was created. * * @param timeCreated the value to set * @return this builder */ public Builder timeCreated(java.util.Date timeCreated) { this.timeCreated = timeCreated; this.__explicitlySet__.add("timeCreated"); return this; } @com.fasterxml.jackson.annotation.JsonProperty("maintenanceWindow") private MaintenanceWindow maintenanceWindow; public Builder maintenanceWindow(MaintenanceWindow maintenanceWindow) { this.maintenanceWindow = maintenanceWindow; this.__explicitlySet__.add("maintenanceWindow"); return this; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * last maintenance run. */ @com.fasterxml.jackson.annotation.JsonProperty("lastMaintenanceRunId") private String lastMaintenanceRunId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * last maintenance run. * * @param lastMaintenanceRunId the value to set * @return this builder */ public Builder lastMaintenanceRunId(String lastMaintenanceRunId) { this.lastMaintenanceRunId = lastMaintenanceRunId; this.__explicitlySet__.add("lastMaintenanceRunId"); return this; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * next maintenance run. */ @com.fasterxml.jackson.annotation.JsonProperty("nextMaintenanceRunId") private String nextMaintenanceRunId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * next maintenance run. * * @param nextMaintenanceRunId the value to set * @return this builder */ public Builder nextMaintenanceRunId(String nextMaintenanceRunId) { this.nextMaintenanceRunId = nextMaintenanceRunId; this.__explicitlySet__.add("nextMaintenanceRunId"); return this; } /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined * name, type, or namespace. For more information, see [Resource * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). * *

Example: {@code {"Department": "Finance"}} */ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") private java.util.Map freeformTags; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined * name, type, or namespace. For more information, see [Resource * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). * *

Example: {@code {"Department": "Finance"}} * * @param freeformTags the value to set * @return this builder */ public Builder freeformTags(java.util.Map freeformTags) { this.freeformTags = freeformTags; this.__explicitlySet__.add("freeformTags"); return this; } /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For * more information, see [Resource * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("definedTags") private java.util.Map> definedTags; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For * more information, see [Resource * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). * * @param definedTags the value to set * @return this builder */ public Builder definedTags( java.util.Map> definedTags) { this.definedTags = definedTags; this.__explicitlySet__.add("definedTags"); return this; } /** * The FQDN of the DNS record for the SCAN IP addresses that are associated with the * Autonomous Exadata Infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("scanDnsName") private String scanDnsName; /** * The FQDN of the DNS record for the SCAN IP addresses that are associated with the * Autonomous Exadata Infrastructure. * * @param scanDnsName the value to set * @return this builder */ public Builder scanDnsName(String scanDnsName) { this.scanDnsName = scanDnsName; this.__explicitlySet__.add("scanDnsName"); return this; } /** The OCID of the zone the Autonomous Exadata Infrastructure is associated with. */ @com.fasterxml.jackson.annotation.JsonProperty("zoneId") private String zoneId; /** * The OCID of the zone the Autonomous Exadata Infrastructure is associated with. * * @param zoneId the value to set * @return this builder */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; this.__explicitlySet__.add("zoneId"); return this; } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public AutonomousExadataInfrastructure build() { AutonomousExadataInfrastructure model = new AutonomousExadataInfrastructure( this.id, this.compartmentId, this.displayName, this.availabilityDomain, this.subnetId, this.nsgIds, this.shape, this.hostname, this.domain, this.lifecycleState, this.lifecycleDetails, this.licenseModel, this.timeCreated, this.maintenanceWindow, this.lastMaintenanceRunId, this.nextMaintenanceRunId, this.freeformTags, this.definedTags, this.scanDnsName, this.zoneId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } return model; } @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(AutonomousExadataInfrastructure model) { if (model.wasPropertyExplicitlySet("id")) { this.id(model.getId()); } if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } if (model.wasPropertyExplicitlySet("availabilityDomain")) { this.availabilityDomain(model.getAvailabilityDomain()); } if (model.wasPropertyExplicitlySet("subnetId")) { this.subnetId(model.getSubnetId()); } if (model.wasPropertyExplicitlySet("nsgIds")) { this.nsgIds(model.getNsgIds()); } if (model.wasPropertyExplicitlySet("shape")) { this.shape(model.getShape()); } if (model.wasPropertyExplicitlySet("hostname")) { this.hostname(model.getHostname()); } if (model.wasPropertyExplicitlySet("domain")) { this.domain(model.getDomain()); } if (model.wasPropertyExplicitlySet("lifecycleState")) { this.lifecycleState(model.getLifecycleState()); } if (model.wasPropertyExplicitlySet("lifecycleDetails")) { this.lifecycleDetails(model.getLifecycleDetails()); } if (model.wasPropertyExplicitlySet("licenseModel")) { this.licenseModel(model.getLicenseModel()); } if (model.wasPropertyExplicitlySet("timeCreated")) { this.timeCreated(model.getTimeCreated()); } if (model.wasPropertyExplicitlySet("maintenanceWindow")) { this.maintenanceWindow(model.getMaintenanceWindow()); } if (model.wasPropertyExplicitlySet("lastMaintenanceRunId")) { this.lastMaintenanceRunId(model.getLastMaintenanceRunId()); } if (model.wasPropertyExplicitlySet("nextMaintenanceRunId")) { this.nextMaintenanceRunId(model.getNextMaintenanceRunId()); } if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } if (model.wasPropertyExplicitlySet("definedTags")) { this.definedTags(model.getDefinedTags()); } if (model.wasPropertyExplicitlySet("scanDnsName")) { this.scanDnsName(model.getScanDnsName()); } if (model.wasPropertyExplicitlySet("zoneId")) { this.zoneId(model.getZoneId()); } return this; } } /** Create a new builder. */ public static Builder builder() { return new Builder(); } public Builder toBuilder() { return new Builder().copy(this); } /** The OCID of the Autonomous Exadata Infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** * The OCID of the Autonomous Exadata Infrastructure. * * @return the value */ public String getId() { return id; } /** The OCID of the compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** * The OCID of the compartment. * * @return the value */ public String getCompartmentId() { return compartmentId; } /** The user-friendly name for the Autonomous Exadata Infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("displayName") private final String displayName; /** * The user-friendly name for the Autonomous Exadata Infrastructure. * * @return the value */ public String getDisplayName() { return displayName; } /** * The name of the availability domain that the Autonomous Exadata Infrastructure is located in. */ @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain") private final String availabilityDomain; /** * The name of the availability domain that the Autonomous Exadata Infrastructure is located in. * * @return the value */ public String getAvailabilityDomain() { return availabilityDomain; } /** * The OCID of the subnet the Autonomous Exadata Infrastructure is associated with. * *

*Subnet Restrictions:** - For Autonomous Databases with Autonomous Exadata Infrastructure, * do not use a subnet that overlaps with 192.168.128.0/20 * *

These subnets are used by the Oracle Clusterware private interconnect on the database * instance. Specifying an overlapping subnet will cause the private interconnect to * malfunction. This restriction applies to both the client subnet and backup subnet. */ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") private final String subnetId; /** * The OCID of the subnet the Autonomous Exadata Infrastructure is associated with. * *

*Subnet Restrictions:** - For Autonomous Databases with Autonomous Exadata Infrastructure, * do not use a subnet that overlaps with 192.168.128.0/20 * *

These subnets are used by the Oracle Clusterware private interconnect on the database * instance. Specifying an overlapping subnet will cause the private interconnect to * malfunction. This restriction applies to both the client subnet and backup subnet. * * @return the value */ public String getSubnetId() { return subnetId; } /** * The list of [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) * for the network security groups (NSGs) to which this resource belongs. Setting this to an * empty list removes all resources from all NSGs. For more information about NSGs, see * [Security Rules](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). * **NsgIds restrictions:** - A network security group (NSG) is optional for Autonomous * Databases with private access. The nsgIds list can be empty. */ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") private final java.util.List nsgIds; /** * The list of [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) * for the network security groups (NSGs) to which this resource belongs. Setting this to an * empty list removes all resources from all NSGs. For more information about NSGs, see * [Security Rules](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). * **NsgIds restrictions:** - A network security group (NSG) is optional for Autonomous * Databases with private access. The nsgIds list can be empty. * * @return the value */ public java.util.List getNsgIds() { return nsgIds; } /** * The shape of the Autonomous Exadata Infrastructure. The shape determines resources to * allocate to the Autonomous Exadata Infrastructure (CPU cores, memory and storage). */ @com.fasterxml.jackson.annotation.JsonProperty("shape") private final String shape; /** * The shape of the Autonomous Exadata Infrastructure. The shape determines resources to * allocate to the Autonomous Exadata Infrastructure (CPU cores, memory and storage). * * @return the value */ public String getShape() { return shape; } /** The host name for the Autonomous Exadata Infrastructure node. */ @com.fasterxml.jackson.annotation.JsonProperty("hostname") private final String hostname; /** * The host name for the Autonomous Exadata Infrastructure node. * * @return the value */ public String getHostname() { return hostname; } /** The domain name for the Autonomous Exadata Infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("domain") private final String domain; /** * The domain name for the Autonomous Exadata Infrastructure. * * @return the value */ public String getDomain() { return domain; } /** The current lifecycle state of the Autonomous Exadata Infrastructure. */ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { Provisioning("PROVISIONING"), Available("AVAILABLE"), Updating("UPDATING"), Terminating("TERMINATING"), Terminated("TERMINATED"), Failed("FAILED"), MaintenanceInProgress("MAINTENANCE_IN_PROGRESS"), /** * This value is used if a service returns a value for this enum that is not recognized by * this version of the SDK. */ UnknownEnumValue(null); private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(LifecycleState.class); private final String value; private static java.util.Map map; static { map = new java.util.HashMap<>(); for (LifecycleState v : LifecycleState.values()) { if (v != UnknownEnumValue) { map.put(v.getValue(), v); } } } LifecycleState(String value) { this.value = value; } @com.fasterxml.jackson.annotation.JsonValue public String getValue() { return value; } @com.fasterxml.jackson.annotation.JsonCreator public static LifecycleState create(String key) { if (map.containsKey(key)) { return map.get(key); } LOG.warn( "Received unknown value '{}' for enum 'LifecycleState', returning UnknownEnumValue", key); return UnknownEnumValue; } }; /** The current lifecycle state of the Autonomous Exadata Infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") private final LifecycleState lifecycleState; /** * The current lifecycle state of the Autonomous Exadata Infrastructure. * * @return the value */ public LifecycleState getLifecycleState() { return lifecycleState; } /** * Additional information about the current lifecycle state of the Autonomous Exadata * Infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails") private final String lifecycleDetails; /** * Additional information about the current lifecycle state of the Autonomous Exadata * Infrastructure. * * @return the value */ public String getLifecycleDetails() { return lifecycleDetails; } /** * The Oracle license model that applies to all databases in the Autonomous Exadata * Infrastructure. The default is BRING_YOUR_OWN_LICENSE. */ public enum LicenseModel implements com.oracle.bmc.http.internal.BmcEnum { LicenseIncluded("LICENSE_INCLUDED"), BringYourOwnLicense("BRING_YOUR_OWN_LICENSE"), /** * This value is used if a service returns a value for this enum that is not recognized by * this version of the SDK. */ UnknownEnumValue(null); private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(LicenseModel.class); private final String value; private static java.util.Map map; static { map = new java.util.HashMap<>(); for (LicenseModel v : LicenseModel.values()) { if (v != UnknownEnumValue) { map.put(v.getValue(), v); } } } LicenseModel(String value) { this.value = value; } @com.fasterxml.jackson.annotation.JsonValue public String getValue() { return value; } @com.fasterxml.jackson.annotation.JsonCreator public static LicenseModel create(String key) { if (map.containsKey(key)) { return map.get(key); } LOG.warn( "Received unknown value '{}' for enum 'LicenseModel', returning UnknownEnumValue", key); return UnknownEnumValue; } }; /** * The Oracle license model that applies to all databases in the Autonomous Exadata * Infrastructure. The default is BRING_YOUR_OWN_LICENSE. */ @com.fasterxml.jackson.annotation.JsonProperty("licenseModel") private final LicenseModel licenseModel; /** * The Oracle license model that applies to all databases in the Autonomous Exadata * Infrastructure. The default is BRING_YOUR_OWN_LICENSE. * * @return the value */ public LicenseModel getLicenseModel() { return licenseModel; } /** The date and time the Autonomous Exadata Infrastructure was created. */ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") private final java.util.Date timeCreated; /** * The date and time the Autonomous Exadata Infrastructure was created. * * @return the value */ public java.util.Date getTimeCreated() { return timeCreated; } @com.fasterxml.jackson.annotation.JsonProperty("maintenanceWindow") private final MaintenanceWindow maintenanceWindow; public MaintenanceWindow getMaintenanceWindow() { return maintenanceWindow; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * last maintenance run. */ @com.fasterxml.jackson.annotation.JsonProperty("lastMaintenanceRunId") private final String lastMaintenanceRunId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * last maintenance run. * * @return the value */ public String getLastMaintenanceRunId() { return lastMaintenanceRunId; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * next maintenance run. */ @com.fasterxml.jackson.annotation.JsonProperty("nextMaintenanceRunId") private final String nextMaintenanceRunId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * next maintenance run. * * @return the value */ public String getNextMaintenanceRunId() { return nextMaintenanceRunId; } /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined * name, type, or namespace. For more information, see [Resource * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). * *

Example: {@code {"Department": "Finance"}} */ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") private final java.util.Map freeformTags; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined * name, type, or namespace. For more information, see [Resource * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). * *

Example: {@code {"Department": "Finance"}} * * @return the value */ public java.util.Map getFreeformTags() { return freeformTags; } /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more * information, see [Resource * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("definedTags") private final java.util.Map> definedTags; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more * information, see [Resource * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). * * @return the value */ public java.util.Map> getDefinedTags() { return definedTags; } /** * The FQDN of the DNS record for the SCAN IP addresses that are associated with the Autonomous * Exadata Infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("scanDnsName") private final String scanDnsName; /** * The FQDN of the DNS record for the SCAN IP addresses that are associated with the Autonomous * Exadata Infrastructure. * * @return the value */ public String getScanDnsName() { return scanDnsName; } /** The OCID of the zone the Autonomous Exadata Infrastructure is associated with. */ @com.fasterxml.jackson.annotation.JsonProperty("zoneId") private final String zoneId; /** * The OCID of the zone the Autonomous Exadata Infrastructure is associated with. * * @return the value */ public String getZoneId() { return zoneId; } @Override public String toString() { return this.toString(true); } /** * Return a string representation of the object. * * @param includeByteArrayContents true to include the full contents of byte arrays * @return string representation */ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("AutonomousExadataInfrastructure("); sb.append("super=").append(super.toString()); sb.append("id=").append(String.valueOf(this.id)); sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", availabilityDomain=").append(String.valueOf(this.availabilityDomain)); sb.append(", subnetId=").append(String.valueOf(this.subnetId)); sb.append(", nsgIds=").append(String.valueOf(this.nsgIds)); sb.append(", shape=").append(String.valueOf(this.shape)); sb.append(", hostname=").append(String.valueOf(this.hostname)); sb.append(", domain=").append(String.valueOf(this.domain)); sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", lifecycleDetails=").append(String.valueOf(this.lifecycleDetails)); sb.append(", licenseModel=").append(String.valueOf(this.licenseModel)); sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); sb.append(", maintenanceWindow=").append(String.valueOf(this.maintenanceWindow)); sb.append(", lastMaintenanceRunId=").append(String.valueOf(this.lastMaintenanceRunId)); sb.append(", nextMaintenanceRunId=").append(String.valueOf(this.nextMaintenanceRunId)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", scanDnsName=").append(String.valueOf(this.scanDnsName)); sb.append(", zoneId=").append(String.valueOf(this.zoneId)); sb.append(")"); return sb.toString(); } @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof AutonomousExadataInfrastructure)) { return false; } AutonomousExadataInfrastructure other = (AutonomousExadataInfrastructure) o; return java.util.Objects.equals(this.id, other.id) && java.util.Objects.equals(this.compartmentId, other.compartmentId) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain) && java.util.Objects.equals(this.subnetId, other.subnetId) && java.util.Objects.equals(this.nsgIds, other.nsgIds) && java.util.Objects.equals(this.shape, other.shape) && java.util.Objects.equals(this.hostname, other.hostname) && java.util.Objects.equals(this.domain, other.domain) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.lifecycleDetails, other.lifecycleDetails) && java.util.Objects.equals(this.licenseModel, other.licenseModel) && java.util.Objects.equals(this.timeCreated, other.timeCreated) && java.util.Objects.equals(this.maintenanceWindow, other.maintenanceWindow) && java.util.Objects.equals(this.lastMaintenanceRunId, other.lastMaintenanceRunId) && java.util.Objects.equals(this.nextMaintenanceRunId, other.nextMaintenanceRunId) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.scanDnsName, other.scanDnsName) && java.util.Objects.equals(this.zoneId, other.zoneId) && super.equals(other); } @Override public int hashCode() { final int PRIME = 59; int result = 1; result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); result = (result * PRIME) + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.availabilityDomain == null ? 43 : this.availabilityDomain.hashCode()); result = (result * PRIME) + (this.subnetId == null ? 43 : this.subnetId.hashCode()); result = (result * PRIME) + (this.nsgIds == null ? 43 : this.nsgIds.hashCode()); result = (result * PRIME) + (this.shape == null ? 43 : this.shape.hashCode()); result = (result * PRIME) + (this.hostname == null ? 43 : this.hostname.hashCode()); result = (result * PRIME) + (this.domain == null ? 43 : this.domain.hashCode()); result = (result * PRIME) + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); result = (result * PRIME) + (this.lifecycleDetails == null ? 43 : this.lifecycleDetails.hashCode()); result = (result * PRIME) + (this.licenseModel == null ? 43 : this.licenseModel.hashCode()); result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); result = (result * PRIME) + (this.maintenanceWindow == null ? 43 : this.maintenanceWindow.hashCode()); result = (result * PRIME) + (this.lastMaintenanceRunId == null ? 43 : this.lastMaintenanceRunId.hashCode()); result = (result * PRIME) + (this.nextMaintenanceRunId == null ? 43 : this.nextMaintenanceRunId.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.scanDnsName == null ? 43 : this.scanDnsName.hashCode()); result = (result * PRIME) + (this.zoneId == null ? 43 : this.zoneId.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy