Class LogAnalyticsLabelAlias
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.loganalytics.model.LogAnalyticsLabelAlias
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class LogAnalyticsLabelAlias extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Label alias mapping view
Note: Objects should always be created or deserialized using theLogAnalyticsLabelAlias.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
LogAnalyticsLabelAlias.Builder
, which maintain a set of all explicitly set fields calledLogAnalyticsLabelAlias.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
LogAnalyticsLabelAlias.Builder
static class
LogAnalyticsLabelAlias.Priority
The label priority.
-
Constructor Summary
Constructors Constructor Description LogAnalyticsLabelAlias(String alias, String aliasDisplayName, Boolean isSystem, String displayName, String name, LogAnalyticsLabelAlias.Priority priority)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogAnalyticsLabelAlias.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAlias()
The alias.String
getAliasDisplayName()
The alias display name.String
getDisplayName()
The label display name.Boolean
getIsSystem()
The system flag.String
getName()
The label name.LogAnalyticsLabelAlias.Priority
getPriority()
The label priority.int
hashCode()
LogAnalyticsLabelAlias.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
LogAnalyticsLabelAlias
@Deprecated @ConstructorProperties({"alias","aliasDisplayName","isSystem","displayName","name","priority"}) public LogAnalyticsLabelAlias(String alias, String aliasDisplayName, Boolean isSystem, String displayName, String name, LogAnalyticsLabelAlias.Priority priority)
Deprecated.
-
-
Method Detail
-
builder
public static LogAnalyticsLabelAlias.Builder builder()
Create a new builder.
-
toBuilder
public LogAnalyticsLabelAlias.Builder toBuilder()
-
getAlias
public String getAlias()
The alias.- Returns:
- the value
-
getAliasDisplayName
public String getAliasDisplayName()
The alias display name.- 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
-
getDisplayName
public String getDisplayName()
The label display name.- Returns:
- the value
-
getName
public String getName()
The label name.- Returns:
- the value
-
getPriority
public LogAnalyticsLabelAlias.Priority getPriority()
The label priority.Default value is NONE.
- 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
-
-