@Generated(value="software.amazon.awssdk:codegen") public final class TracingConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TracingConfig.Builder,TracingConfig>
The function's X-Ray tracing
configuration. To sample and record incoming requests, set Mode
to Active
.
Modifier and Type | Class and Description |
---|---|
static interface |
TracingConfig.Builder |
Modifier and Type | Method and Description |
---|---|
static TracingConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
TracingMode |
mode()
The tracing mode.
|
String |
modeAsString()
The tracing mode.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TracingConfig.Builder> |
serializableBuilderClass() |
TracingConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final TracingMode mode()
The tracing mode.
If the service returns an enum value that is not available in the current SDK version, mode
will return
TracingMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
modeAsString()
.
TracingMode
public final String modeAsString()
The tracing mode.
If the service returns an enum value that is not available in the current SDK version, mode
will return
TracingMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
modeAsString()
.
TracingMode
public TracingConfig.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<TracingConfig.Builder,TracingConfig>
public static TracingConfig.Builder builder()
public static Class<? extends TracingConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.