StructuredPojo
, ToCopyableBuilder<TracingConfig.Builder,TracingConfig>
@Generated("software.amazon.awssdk:codegen") public class TracingConfig extends Object implements StructuredPojo, ToCopyableBuilder<TracingConfig.Builder,TracingConfig>
The parent object that contains your function's tracing settings.
Modifier and Type | Class | Description |
---|---|---|
static interface |
TracingConfig.Builder |
Modifier and Type | Method | Description |
---|---|---|
static TracingConfig.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
mode() |
Can be either PassThrough or Active.
|
static Class<? extends TracingConfig.Builder> |
serializableBuilderClass() |
|
TracingConfig.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String mode()
Can be either PassThrough or Active. If PassThrough, Lambda will only trace the request from an upstream service if it contains a tracing header with "sampled=1". If Active, Lambda will respect any tracing header it receives from an upstream service. If no tracing header is received, Lambda will call X-Ray for a tracing decision.
TracingMode
public TracingConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TracingConfig.Builder,TracingConfig>
public static TracingConfig.Builder builder()
public static Class<? extends TracingConfig.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.