@Generated(value="OracleSDKGenerator", comments="API Version: 20200909") public final class PluginSourceDetails extends SourceDetails
Details about a connector plugin used to fetch data from a source. For configuration
instructions, see Creating a
Connector.
Note: Objects should always be created or deserialized using the PluginSourceDetails.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 PluginSourceDetails.Builder
, which maintain a
set of all explicitly set fields called PluginSourceDetails.Builder.__explicitlySet__
. The hashCode()
and 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 null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
PluginSourceDetails.Builder |
SourceDetails.Kind
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
PluginSourceDetails(String pluginName,
Object configMap)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static PluginSourceDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Object |
getConfigMap()
The configuration map for the connector plugin.
|
String |
getPluginName()
The name of the connector plugin.
|
int |
hashCode() |
PluginSourceDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public PluginSourceDetails(String pluginName, Object configMap)
public static PluginSourceDetails.Builder builder()
Create a new builder.
public PluginSourceDetails.Builder toBuilder()
public String getPluginName()
The name of the connector plugin. This name indicates the service to be called by the
connector plugin. For example, QueueSource
indicates the Queue service. To find names
of connector plugins, list the plugin using
(ListConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPluginSummary/ListConnectorPlugins].
public Object getConfigMap()
The configuration map for the connector plugin. This map includes parameters specific to the
connector plugin type. For example, for QueueSource
, the map lists the OCID of the
selected queue. To find the parameters for a connector plugin, get the plugin using
(GetConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPlugin/GetConnectorPlugin] and
review its schema value.
public String toString()
toString
in class SourceDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class SourceDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class SourceDetails
public int hashCode()
hashCode
in class SourceDetails
Copyright © 2016–2024. All rights reserved.