Class DependentSource
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.loganalytics.model.DependentSource
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class DependentSource extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A source that uses the parser, either directly or indirectly.
Note: Objects should always be created or deserialized using theDependentSource.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 theDependentSource.Builder
, which maintain a set of all explicitly set fields calledDependentSource.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 class
DependentSource.Builder
-
Constructor Summary
Constructors Constructor Description DependentSource(String sourceName, String sourceDisplayName, Long sourceId, String sourceType, Boolean isSystem, Boolean isAutoAssociationEnabled, List<LogAnalyticsSourceEntityType> entityTypes, List<Dependency> dependencies)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DependentSource.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<Dependency>
getDependencies()
The list of dependencies defined by the source.List<LogAnalyticsSourceEntityType>
getEntityTypes()
The entity types.Boolean
getIsAutoAssociationEnabled()
A flag indicating whether or not the source is marked for auto association.Boolean
getIsSystem()
The system flag.String
getSourceDisplayName()
The source display name.Long
getSourceId()
The source unique identifier.String
getSourceName()
The source name.String
getSourceType()
The source type.int
hashCode()
DependentSource.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
DependentSource
@Deprecated @ConstructorProperties({"sourceName","sourceDisplayName","sourceId","sourceType","isSystem","isAutoAssociationEnabled","entityTypes","dependencies"}) public DependentSource(String sourceName, String sourceDisplayName, Long sourceId, String sourceType, Boolean isSystem, Boolean isAutoAssociationEnabled, List<LogAnalyticsSourceEntityType> entityTypes, List<Dependency> dependencies)
Deprecated.
-
-
Method Detail
-
builder
public static DependentSource.Builder builder()
Create a new builder.
-
toBuilder
public DependentSource.Builder toBuilder()
-
getSourceName
public String getSourceName()
The source name.- Returns:
- the value
-
getSourceDisplayName
public String getSourceDisplayName()
The source display name.- Returns:
- the value
-
getSourceId
public Long getSourceId()
The source unique identifier.- Returns:
- the value
-
getSourceType
public String getSourceType()
The source type.- Returns:
- the value
-
getIsSystem
public Boolean getIsSystem()
The system flag.A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
- Returns:
- the value
-
getIsAutoAssociationEnabled
public Boolean getIsAutoAssociationEnabled()
A flag indicating whether or not the source is marked for auto association.- Returns:
- the value
-
getEntityTypes
public List<LogAnalyticsSourceEntityType> getEntityTypes()
The entity types.- Returns:
- the value
-
getDependencies
public List<Dependency> getDependencies()
The list of dependencies defined by the source.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-