@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class CreatePeComanagedDatabaseInsightDetails extends CreateDatabaseInsightDetails
The information about database to be analyzed. Either an opsiPrivateEndpointId or dbmPrivateEndpointId must be specified. If the dbmPrivateEndpointId is specified, a new Operations Insights private endpoint will be created.
Note: Objects should always be created or deserialized using the CreatePeComanagedDatabaseInsightDetails.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 the CreatePeComanagedDatabaseInsightDetails.Builder
, which maintain a set of all explicitly set fields called
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CreatePeComanagedDatabaseInsightDetails.Builder |
static class |
CreatePeComanagedDatabaseInsightDetails.DeploymentType
Database Deployment Type
|
Constructor and Description |
---|
CreatePeComanagedDatabaseInsightDetails(String compartmentId,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
String databaseId,
String databaseResourceType,
String opsiPrivateEndpointId,
String dbmPrivateEndpointId,
String serviceName,
CredentialDetails credentialDetails,
CreatePeComanagedDatabaseInsightDetails.DeploymentType deploymentType,
Map<String,Map<String,Object>> systemTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreatePeComanagedDatabaseInsightDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
CredentialDetails |
getCredentialDetails() |
String |
getDatabaseId()
The OCID of the database.
|
String |
getDatabaseResourceType()
OCI database resource type
|
String |
getDbmPrivateEndpointId()
The OCID of the Database Management private endpoint
|
CreatePeComanagedDatabaseInsightDetails.DeploymentType |
getDeploymentType()
Database Deployment Type
|
String |
getOpsiPrivateEndpointId()
The OCID of the OPSI private endpoint
|
String |
getServiceName()
Database service name used for connection requests.
|
Map<String,Map<String,Object>> |
getSystemTags()
System tags for this resource.
|
int |
hashCode() |
CreatePeComanagedDatabaseInsightDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getCompartmentId, getDefinedTags, getFreeformTags
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CreatePeComanagedDatabaseInsightDetails(String compartmentId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String databaseId, String databaseResourceType, String opsiPrivateEndpointId, String dbmPrivateEndpointId, String serviceName, CredentialDetails credentialDetails, CreatePeComanagedDatabaseInsightDetails.DeploymentType deploymentType, Map<String,Map<String,Object>> systemTags)
public static CreatePeComanagedDatabaseInsightDetails.Builder builder()
Create a new builder.
public CreatePeComanagedDatabaseInsightDetails.Builder toBuilder()
public String getDatabaseResourceType()
OCI database resource type
public String getOpsiPrivateEndpointId()
The OCID of the OPSI private endpoint
public String getDbmPrivateEndpointId()
The OCID of the Database Management private endpoint
public String getServiceName()
Database service name used for connection requests.
public CredentialDetails getCredentialDetails()
public CreatePeComanagedDatabaseInsightDetails.DeploymentType getDeploymentType()
Database Deployment Type
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"}}
public String toString()
toString
in class CreateDatabaseInsightDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class CreateDatabaseInsightDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class CreateDatabaseInsightDetails
public int hashCode()
hashCode
in class CreateDatabaseInsightDetails
Copyright © 2016–2023. All rights reserved.