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.ExplicitlySetBmcModelA source that depends on or uses the resource such as a field or a parser
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 the
DependentSource.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 classDependentSource.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.Builderbuilder()Create a new builder.booleanequals(Object o)List<Dependency>getDependencies()The list of dependencies defined by the source.List<LogAnalyticsSourceEntityType>getEntityTypes()The entity types.BooleangetIsAutoAssociationEnabled()A flag indicating whether or not the source is marked for auto association.BooleangetIsSystem()The system flag.StringgetSourceDisplayName()The source display name.LonggetSourceId()The source unique identifier.StringgetSourceName()The source name.StringgetSourceType()The source type.inthashCode()DependentSource.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-