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

com.oracle.bmc.goldengate.model.CreateDeploymentDetails Maven / Gradle / Ivy

Go to download

This project contains the SDK distribution used for Oracle Cloud Infrastructure, and all the dependencies that can be shaded. It also has Maven dependencies that cannot be shaded. Therefore, use this module to depend on the shaded distribution via Maven -- it will shade everything that can be shaded, and automatically pull in the other dependencies.

There is a newer version: 3.55.2
Show newest version
/**
 * 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.goldengate.model;

/**
 * The information about a new Deployment. 
* 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: 20200407") @com.fasterxml.jackson.databind.annotation.JsonDeserialize( builder = CreateDeploymentDetails.Builder.class) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) public final class CreateDeploymentDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated @java.beans.ConstructorProperties({ "displayName", "licenseModel", "description", "compartmentId", "freeformTags", "definedTags", "locks", "deploymentBackupId", "subnetId", "loadBalancerSubnetId", "fqdn", "nsgIds", "isPublic", "cpuCoreCount", "isAutoScalingEnabled", "deploymentType", "oggData", "maintenanceWindow", "maintenanceConfiguration" }) public CreateDeploymentDetails( String displayName, LicenseModel licenseModel, String description, String compartmentId, java.util.Map freeformTags, java.util.Map> definedTags, java.util.List locks, String deploymentBackupId, String subnetId, String loadBalancerSubnetId, String fqdn, java.util.List nsgIds, Boolean isPublic, Integer cpuCoreCount, Boolean isAutoScalingEnabled, DeploymentType deploymentType, CreateOggDeploymentDetails oggData, CreateMaintenanceWindowDetails maintenanceWindow, CreateMaintenanceConfigurationDetails maintenanceConfiguration) { super(); this.displayName = displayName; this.licenseModel = licenseModel; this.description = description; this.compartmentId = compartmentId; this.freeformTags = freeformTags; this.definedTags = definedTags; this.locks = locks; this.deploymentBackupId = deploymentBackupId; this.subnetId = subnetId; this.loadBalancerSubnetId = loadBalancerSubnetId; this.fqdn = fqdn; this.nsgIds = nsgIds; this.isPublic = isPublic; this.cpuCoreCount = cpuCoreCount; this.isAutoScalingEnabled = isAutoScalingEnabled; this.deploymentType = deploymentType; this.oggData = oggData; this.maintenanceWindow = maintenanceWindow; this.maintenanceConfiguration = maintenanceConfiguration; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** An object's Display Name. */ @com.fasterxml.jackson.annotation.JsonProperty("displayName") private String displayName; /** * An object's Display Name. * * @param displayName the value to set * @return this builder */ public Builder displayName(String displayName) { this.displayName = displayName; this.__explicitlySet__.add("displayName"); return this; } /** The Oracle license model that applies to a Deployment. */ @com.fasterxml.jackson.annotation.JsonProperty("licenseModel") private LicenseModel licenseModel; /** * The Oracle license model that applies to a Deployment. * * @param licenseModel the value to set * @return this builder */ public Builder licenseModel(LicenseModel licenseModel) { this.licenseModel = licenseModel; this.__explicitlySet__.add("licenseModel"); return this; } /** Metadata about this specific object. */ @com.fasterxml.jackson.annotation.JsonProperty("description") private String description; /** * Metadata about this specific object. * * @param description the value to set * @return this builder */ public Builder description(String description) { this.description = description; this.__explicitlySet__.add("description"); return this; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * compartment being referenced. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * compartment being referenced. * * @param compartmentId the value to set * @return this builder */ public Builder compartmentId(String compartmentId) { this.compartmentId = compartmentId; this.__explicitlySet__.add("compartmentId"); return this; } /** * A simple key-value pair that is applied without any predefined name, type, or scope. * Exists for cross-compatibility only. * *

Example: {@code {"bar-key": "value"}} */ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") private java.util.Map freeformTags; /** * A simple key-value pair that is applied without any predefined name, type, or scope. * Exists for cross-compatibility only. * *

Example: {@code {"bar-key": "value"}} * * @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; } /** * Tags defined for this resource. Each key is predefined and scoped to a namespace. * *

Example: {@code {"foo-namespace": {"bar-key": "value"}}} */ @com.fasterxml.jackson.annotation.JsonProperty("definedTags") private java.util.Map> definedTags; /** * Tags defined for this resource. Each key is predefined and scoped to a namespace. * *

Example: {@code {"foo-namespace": {"bar-key": "value"}}} * * @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; } /** Locks associated with this resource. */ @com.fasterxml.jackson.annotation.JsonProperty("locks") private java.util.List locks; /** * Locks associated with this resource. * * @param locks the value to set * @return this builder */ public Builder locks(java.util.List locks) { this.locks = locks; this.__explicitlySet__.add("locks"); return this; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * backup being referenced. */ @com.fasterxml.jackson.annotation.JsonProperty("deploymentBackupId") private String deploymentBackupId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * backup being referenced. * * @param deploymentBackupId the value to set * @return this builder */ public Builder deploymentBackupId(String deploymentBackupId) { this.deploymentBackupId = deploymentBackupId; this.__explicitlySet__.add("deploymentBackupId"); return this; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * subnet of the deployment's private endpoint. The subnet must be a private subnet. For * backward compatibility, public subnets are allowed until May 31 2025, after which the * private subnet will be enforced. */ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") private String subnetId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * subnet of the deployment's private endpoint. The subnet must be a private subnet. For * backward compatibility, public subnets are allowed until May 31 2025, after which the * private subnet will be enforced. * * @param subnetId the value to set * @return this builder */ public Builder subnetId(String subnetId) { this.subnetId = subnetId; this.__explicitlySet__.add("subnetId"); return this; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a * public subnet in the customer tenancy. Can be provided only for public deployments. If * provided, the loadbalancer will be created in this subnet instead of the service tenancy. * For backward compatibility, this is an optional property. It will become mandatory for * public deployments after October 1, 2024. */ @com.fasterxml.jackson.annotation.JsonProperty("loadBalancerSubnetId") private String loadBalancerSubnetId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a * public subnet in the customer tenancy. Can be provided only for public deployments. If * provided, the loadbalancer will be created in this subnet instead of the service tenancy. * For backward compatibility, this is an optional property. It will become mandatory for * public deployments after October 1, 2024. * * @param loadBalancerSubnetId the value to set * @return this builder */ public Builder loadBalancerSubnetId(String loadBalancerSubnetId) { this.loadBalancerSubnetId = loadBalancerSubnetId; this.__explicitlySet__.add("loadBalancerSubnetId"); return this; } /** A three-label Fully Qualified Domain Name (FQDN) for a resource. */ @com.fasterxml.jackson.annotation.JsonProperty("fqdn") private String fqdn; /** * A three-label Fully Qualified Domain Name (FQDN) for a resource. * * @param fqdn the value to set * @return this builder */ public Builder fqdn(String fqdn) { this.fqdn = fqdn; this.__explicitlySet__.add("fqdn"); return this; } /** * An array of Network Security Group OCIDs used to define network access for either * Deployments or Connections. */ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") private java.util.List nsgIds; /** * An array of Network Security Group OCIDs used to define network access for either * Deployments or Connections. * * @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; } /** True if this object is publicly available. */ @com.fasterxml.jackson.annotation.JsonProperty("isPublic") private Boolean isPublic; /** * True if this object is publicly available. * * @param isPublic the value to set * @return this builder */ public Builder isPublic(Boolean isPublic) { this.isPublic = isPublic; this.__explicitlySet__.add("isPublic"); return this; } /** The Minimum number of OCPUs to be made available for this Deployment. */ @com.fasterxml.jackson.annotation.JsonProperty("cpuCoreCount") private Integer cpuCoreCount; /** * The Minimum number of OCPUs to be made available for this Deployment. * * @param cpuCoreCount the value to set * @return this builder */ public Builder cpuCoreCount(Integer cpuCoreCount) { this.cpuCoreCount = cpuCoreCount; this.__explicitlySet__.add("cpuCoreCount"); return this; } /** Indicates if auto scaling is enabled for the Deployment's CPU core count. */ @com.fasterxml.jackson.annotation.JsonProperty("isAutoScalingEnabled") private Boolean isAutoScalingEnabled; /** * Indicates if auto scaling is enabled for the Deployment's CPU core count. * * @param isAutoScalingEnabled the value to set * @return this builder */ public Builder isAutoScalingEnabled(Boolean isAutoScalingEnabled) { this.isAutoScalingEnabled = isAutoScalingEnabled; this.__explicitlySet__.add("isAutoScalingEnabled"); return this; } /** * The type of deployment, which can be any one of the Allowed values. NOTE: Use of the * value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in * favor of 'DATABASE_ORACLE'. */ @com.fasterxml.jackson.annotation.JsonProperty("deploymentType") private DeploymentType deploymentType; /** * The type of deployment, which can be any one of the Allowed values. NOTE: Use of the * value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in * favor of 'DATABASE_ORACLE'. * * @param deploymentType the value to set * @return this builder */ public Builder deploymentType(DeploymentType deploymentType) { this.deploymentType = deploymentType; this.__explicitlySet__.add("deploymentType"); return this; } @com.fasterxml.jackson.annotation.JsonProperty("oggData") private CreateOggDeploymentDetails oggData; public Builder oggData(CreateOggDeploymentDetails oggData) { this.oggData = oggData; this.__explicitlySet__.add("oggData"); return this; } @com.fasterxml.jackson.annotation.JsonProperty("maintenanceWindow") private CreateMaintenanceWindowDetails maintenanceWindow; public Builder maintenanceWindow(CreateMaintenanceWindowDetails maintenanceWindow) { this.maintenanceWindow = maintenanceWindow; this.__explicitlySet__.add("maintenanceWindow"); return this; } @com.fasterxml.jackson.annotation.JsonProperty("maintenanceConfiguration") private CreateMaintenanceConfigurationDetails maintenanceConfiguration; public Builder maintenanceConfiguration( CreateMaintenanceConfigurationDetails maintenanceConfiguration) { this.maintenanceConfiguration = maintenanceConfiguration; this.__explicitlySet__.add("maintenanceConfiguration"); return this; } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public CreateDeploymentDetails build() { CreateDeploymentDetails model = new CreateDeploymentDetails( this.displayName, this.licenseModel, this.description, this.compartmentId, this.freeformTags, this.definedTags, this.locks, this.deploymentBackupId, this.subnetId, this.loadBalancerSubnetId, this.fqdn, this.nsgIds, this.isPublic, this.cpuCoreCount, this.isAutoScalingEnabled, this.deploymentType, this.oggData, this.maintenanceWindow, this.maintenanceConfiguration); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } return model; } @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(CreateDeploymentDetails model) { if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } if (model.wasPropertyExplicitlySet("licenseModel")) { this.licenseModel(model.getLicenseModel()); } if (model.wasPropertyExplicitlySet("description")) { this.description(model.getDescription()); } if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } if (model.wasPropertyExplicitlySet("definedTags")) { this.definedTags(model.getDefinedTags()); } if (model.wasPropertyExplicitlySet("locks")) { this.locks(model.getLocks()); } if (model.wasPropertyExplicitlySet("deploymentBackupId")) { this.deploymentBackupId(model.getDeploymentBackupId()); } if (model.wasPropertyExplicitlySet("subnetId")) { this.subnetId(model.getSubnetId()); } if (model.wasPropertyExplicitlySet("loadBalancerSubnetId")) { this.loadBalancerSubnetId(model.getLoadBalancerSubnetId()); } if (model.wasPropertyExplicitlySet("fqdn")) { this.fqdn(model.getFqdn()); } if (model.wasPropertyExplicitlySet("nsgIds")) { this.nsgIds(model.getNsgIds()); } if (model.wasPropertyExplicitlySet("isPublic")) { this.isPublic(model.getIsPublic()); } if (model.wasPropertyExplicitlySet("cpuCoreCount")) { this.cpuCoreCount(model.getCpuCoreCount()); } if (model.wasPropertyExplicitlySet("isAutoScalingEnabled")) { this.isAutoScalingEnabled(model.getIsAutoScalingEnabled()); } if (model.wasPropertyExplicitlySet("deploymentType")) { this.deploymentType(model.getDeploymentType()); } if (model.wasPropertyExplicitlySet("oggData")) { this.oggData(model.getOggData()); } if (model.wasPropertyExplicitlySet("maintenanceWindow")) { this.maintenanceWindow(model.getMaintenanceWindow()); } if (model.wasPropertyExplicitlySet("maintenanceConfiguration")) { this.maintenanceConfiguration(model.getMaintenanceConfiguration()); } return this; } } /** Create a new builder. */ public static Builder builder() { return new Builder(); } public Builder toBuilder() { return new Builder().copy(this); } /** An object's Display Name. */ @com.fasterxml.jackson.annotation.JsonProperty("displayName") private final String displayName; /** * An object's Display Name. * * @return the value */ public String getDisplayName() { return displayName; } /** The Oracle license model that applies to a Deployment. */ @com.fasterxml.jackson.annotation.JsonProperty("licenseModel") private final LicenseModel licenseModel; /** * The Oracle license model that applies to a Deployment. * * @return the value */ public LicenseModel getLicenseModel() { return licenseModel; } /** Metadata about this specific object. */ @com.fasterxml.jackson.annotation.JsonProperty("description") private final String description; /** * Metadata about this specific object. * * @return the value */ public String getDescription() { return description; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * compartment being referenced. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * compartment being referenced. * * @return the value */ public String getCompartmentId() { return compartmentId; } /** * A simple key-value pair that is applied without any predefined name, type, or scope. Exists * for cross-compatibility only. * *

Example: {@code {"bar-key": "value"}} */ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") private final java.util.Map freeformTags; /** * A simple key-value pair that is applied without any predefined name, type, or scope. Exists * for cross-compatibility only. * *

Example: {@code {"bar-key": "value"}} * * @return the value */ public java.util.Map getFreeformTags() { return freeformTags; } /** * Tags defined for this resource. Each key is predefined and scoped to a namespace. * *

Example: {@code {"foo-namespace": {"bar-key": "value"}}} */ @com.fasterxml.jackson.annotation.JsonProperty("definedTags") private final java.util.Map> definedTags; /** * Tags defined for this resource. Each key is predefined and scoped to a namespace. * *

Example: {@code {"foo-namespace": {"bar-key": "value"}}} * * @return the value */ public java.util.Map> getDefinedTags() { return definedTags; } /** Locks associated with this resource. */ @com.fasterxml.jackson.annotation.JsonProperty("locks") private final java.util.List locks; /** * Locks associated with this resource. * * @return the value */ public java.util.List getLocks() { return locks; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * backup being referenced. */ @com.fasterxml.jackson.annotation.JsonProperty("deploymentBackupId") private final String deploymentBackupId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * backup being referenced. * * @return the value */ public String getDeploymentBackupId() { return deploymentBackupId; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * subnet of the deployment's private endpoint. The subnet must be a private subnet. For * backward compatibility, public subnets are allowed until May 31 2025, after which the private * subnet will be enforced. */ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") private final String subnetId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * subnet of the deployment's private endpoint. The subnet must be a private subnet. For * backward compatibility, public subnets are allowed until May 31 2025, after which the private * subnet will be enforced. * * @return the value */ public String getSubnetId() { return subnetId; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a * public subnet in the customer tenancy. Can be provided only for public deployments. If * provided, the loadbalancer will be created in this subnet instead of the service tenancy. For * backward compatibility, this is an optional property. It will become mandatory for public * deployments after October 1, 2024. */ @com.fasterxml.jackson.annotation.JsonProperty("loadBalancerSubnetId") private final String loadBalancerSubnetId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a * public subnet in the customer tenancy. Can be provided only for public deployments. If * provided, the loadbalancer will be created in this subnet instead of the service tenancy. For * backward compatibility, this is an optional property. It will become mandatory for public * deployments after October 1, 2024. * * @return the value */ public String getLoadBalancerSubnetId() { return loadBalancerSubnetId; } /** A three-label Fully Qualified Domain Name (FQDN) for a resource. */ @com.fasterxml.jackson.annotation.JsonProperty("fqdn") private final String fqdn; /** * A three-label Fully Qualified Domain Name (FQDN) for a resource. * * @return the value */ public String getFqdn() { return fqdn; } /** * An array of Network Security Group OCIDs used to define network access for either Deployments * or Connections. */ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") private final java.util.List nsgIds; /** * An array of Network Security Group OCIDs used to define network access for either Deployments * or Connections. * * @return the value */ public java.util.List getNsgIds() { return nsgIds; } /** True if this object is publicly available. */ @com.fasterxml.jackson.annotation.JsonProperty("isPublic") private final Boolean isPublic; /** * True if this object is publicly available. * * @return the value */ public Boolean getIsPublic() { return isPublic; } /** The Minimum number of OCPUs to be made available for this Deployment. */ @com.fasterxml.jackson.annotation.JsonProperty("cpuCoreCount") private final Integer cpuCoreCount; /** * The Minimum number of OCPUs to be made available for this Deployment. * * @return the value */ public Integer getCpuCoreCount() { return cpuCoreCount; } /** Indicates if auto scaling is enabled for the Deployment's CPU core count. */ @com.fasterxml.jackson.annotation.JsonProperty("isAutoScalingEnabled") private final Boolean isAutoScalingEnabled; /** * Indicates if auto scaling is enabled for the Deployment's CPU core count. * * @return the value */ public Boolean getIsAutoScalingEnabled() { return isAutoScalingEnabled; } /** * The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value * 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of * 'DATABASE_ORACLE'. */ @com.fasterxml.jackson.annotation.JsonProperty("deploymentType") private final DeploymentType deploymentType; /** * The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value * 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of * 'DATABASE_ORACLE'. * * @return the value */ public DeploymentType getDeploymentType() { return deploymentType; } @com.fasterxml.jackson.annotation.JsonProperty("oggData") private final CreateOggDeploymentDetails oggData; public CreateOggDeploymentDetails getOggData() { return oggData; } @com.fasterxml.jackson.annotation.JsonProperty("maintenanceWindow") private final CreateMaintenanceWindowDetails maintenanceWindow; public CreateMaintenanceWindowDetails getMaintenanceWindow() { return maintenanceWindow; } @com.fasterxml.jackson.annotation.JsonProperty("maintenanceConfiguration") private final CreateMaintenanceConfigurationDetails maintenanceConfiguration; public CreateMaintenanceConfigurationDetails getMaintenanceConfiguration() { return maintenanceConfiguration; } @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("CreateDeploymentDetails("); sb.append("super=").append(super.toString()); sb.append("displayName=").append(String.valueOf(this.displayName)); sb.append(", licenseModel=").append(String.valueOf(this.licenseModel)); sb.append(", description=").append(String.valueOf(this.description)); sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", locks=").append(String.valueOf(this.locks)); sb.append(", deploymentBackupId=").append(String.valueOf(this.deploymentBackupId)); sb.append(", subnetId=").append(String.valueOf(this.subnetId)); sb.append(", loadBalancerSubnetId=").append(String.valueOf(this.loadBalancerSubnetId)); sb.append(", fqdn=").append(String.valueOf(this.fqdn)); sb.append(", nsgIds=").append(String.valueOf(this.nsgIds)); sb.append(", isPublic=").append(String.valueOf(this.isPublic)); sb.append(", cpuCoreCount=").append(String.valueOf(this.cpuCoreCount)); sb.append(", isAutoScalingEnabled=").append(String.valueOf(this.isAutoScalingEnabled)); sb.append(", deploymentType=").append(String.valueOf(this.deploymentType)); sb.append(", oggData=").append(String.valueOf(this.oggData)); sb.append(", maintenanceWindow=").append(String.valueOf(this.maintenanceWindow)); sb.append(", maintenanceConfiguration=") .append(String.valueOf(this.maintenanceConfiguration)); sb.append(")"); return sb.toString(); } @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof CreateDeploymentDetails)) { return false; } CreateDeploymentDetails other = (CreateDeploymentDetails) o; return java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.licenseModel, other.licenseModel) && java.util.Objects.equals(this.description, other.description) && java.util.Objects.equals(this.compartmentId, other.compartmentId) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.locks, other.locks) && java.util.Objects.equals(this.deploymentBackupId, other.deploymentBackupId) && java.util.Objects.equals(this.subnetId, other.subnetId) && java.util.Objects.equals(this.loadBalancerSubnetId, other.loadBalancerSubnetId) && java.util.Objects.equals(this.fqdn, other.fqdn) && java.util.Objects.equals(this.nsgIds, other.nsgIds) && java.util.Objects.equals(this.isPublic, other.isPublic) && java.util.Objects.equals(this.cpuCoreCount, other.cpuCoreCount) && java.util.Objects.equals(this.isAutoScalingEnabled, other.isAutoScalingEnabled) && java.util.Objects.equals(this.deploymentType, other.deploymentType) && java.util.Objects.equals(this.oggData, other.oggData) && java.util.Objects.equals(this.maintenanceWindow, other.maintenanceWindow) && java.util.Objects.equals( this.maintenanceConfiguration, other.maintenanceConfiguration) && super.equals(other); } @Override public int hashCode() { final int PRIME = 59; int result = 1; result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.licenseModel == null ? 43 : this.licenseModel.hashCode()); result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); result = (result * PRIME) + (this.compartmentId == null ? 43 : this.compartmentId.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.locks == null ? 43 : this.locks.hashCode()); result = (result * PRIME) + (this.deploymentBackupId == null ? 43 : this.deploymentBackupId.hashCode()); result = (result * PRIME) + (this.subnetId == null ? 43 : this.subnetId.hashCode()); result = (result * PRIME) + (this.loadBalancerSubnetId == null ? 43 : this.loadBalancerSubnetId.hashCode()); result = (result * PRIME) + (this.fqdn == null ? 43 : this.fqdn.hashCode()); result = (result * PRIME) + (this.nsgIds == null ? 43 : this.nsgIds.hashCode()); result = (result * PRIME) + (this.isPublic == null ? 43 : this.isPublic.hashCode()); result = (result * PRIME) + (this.cpuCoreCount == null ? 43 : this.cpuCoreCount.hashCode()); result = (result * PRIME) + (this.isAutoScalingEnabled == null ? 43 : this.isAutoScalingEnabled.hashCode()); result = (result * PRIME) + (this.deploymentType == null ? 43 : this.deploymentType.hashCode()); result = (result * PRIME) + (this.oggData == null ? 43 : this.oggData.hashCode()); result = (result * PRIME) + (this.maintenanceWindow == null ? 43 : this.maintenanceWindow.hashCode()); result = (result * PRIME) + (this.maintenanceConfiguration == null ? 43 : this.maintenanceConfiguration.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy