Package com.oracle.bmc.opsi.model
Class EnablePeComanagedDatabaseInsightDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.opsi.model.EnableDatabaseInsightDetails
-
- com.oracle.bmc.opsi.model.EnablePeComanagedDatabaseInsightDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class EnablePeComanagedDatabaseInsightDetails extends EnableDatabaseInsightDetailsThe information about database to be analyzed.
Note: Objects should always be created or deserialized using theEnablePeComanagedDatabaseInsightDetails.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 theEnablePeComanagedDatabaseInsightDetails.Builder, which maintain a set of all explicitly set fields calledEnablePeComanagedDatabaseInsightDetails.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 classEnablePeComanagedDatabaseInsightDetails.Builder
-
Constructor Summary
Constructors Constructor Description EnablePeComanagedDatabaseInsightDetails(String compartmentId, String opsiPrivateEndpointId, String serviceName, CredentialDetails credentialDetails, PeComanagedDatabaseConnectionDetails connectionDetails, 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 EnablePeComanagedDatabaseInsightDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()The compartment OCID of the Private service accessed database.PeComanagedDatabaseConnectionDetailsgetConnectionDetails()CredentialDetailsgetCredentialDetails()Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.Map<String,String>getFreeformTags()Simple key-value pair that is applied without any predefined name, type or scope.StringgetOpsiPrivateEndpointId()The OCID of the OPSI private endpointStringgetServiceName()Database service name used for connection requests.Map<String,Map<String,Object>>getSystemTags()System tags for this resource.inthashCode()EnablePeComanagedDatabaseInsightDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
EnablePeComanagedDatabaseInsightDetails
@Deprecated public EnablePeComanagedDatabaseInsightDetails(String compartmentId, String opsiPrivateEndpointId, String serviceName, CredentialDetails credentialDetails, PeComanagedDatabaseConnectionDetails connectionDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
-
Method Detail
-
builder
public static EnablePeComanagedDatabaseInsightDetails.Builder builder()
Create a new builder.
-
toBuilder
public EnablePeComanagedDatabaseInsightDetails.Builder toBuilder()
-
getCompartmentId
public String getCompartmentId()
The compartment OCID of the Private service accessed database.- Returns:
- the value
-
getOpsiPrivateEndpointId
public String getOpsiPrivateEndpointId()
The OCID of the OPSI private endpoint- Returns:
- the value
-
getServiceName
public String getServiceName()
Database service name used for connection requests.- Returns:
- the value
-
getCredentialDetails
public CredentialDetails getCredentialDetails()
-
getConnectionDetails
public PeComanagedDatabaseConnectionDetails getConnectionDetails()
-
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()
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns:
- the value
-
getSystemTags
public Map<String,Map<String,Object>> getSystemTags()
System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classEnableDatabaseInsightDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classEnableDatabaseInsightDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classEnableDatabaseInsightDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classEnableDatabaseInsightDetails
-
-