@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class ApplicationTraceConfig extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Define the tracing configuration for an application.
Note: Objects should always be created or deserialized using the ApplicationTraceConfig.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 ApplicationTraceConfig.Builder
, which maintain a
set of all explicitly set fields called ApplicationTraceConfig.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 |
ApplicationTraceConfig.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ApplicationTraceConfig(Boolean isEnabled,
String domainId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ApplicationTraceConfig.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getDomainId()
The OCID of the collector (e.g.
|
Boolean |
getIsEnabled()
Define if tracing is enabled for the resource.
|
int |
hashCode() |
ApplicationTraceConfig.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"isEnabled","domainId"}) public ApplicationTraceConfig(Boolean isEnabled, String domainId)
public static ApplicationTraceConfig.Builder builder()
Create a new builder.
public ApplicationTraceConfig.Builder toBuilder()
public Boolean getIsEnabled()
Define if tracing is enabled for the resource.
public String getDomainId()
The OCID of the collector (e.g. an APM Domain) trace events will be sent to.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.