@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TracingConfig extends Object implements Serializable, Cloneable, StructuredPojo
The parent object that contains your function's tracing settings.
| Constructor and Description | 
|---|
| TracingConfig() | 
| Modifier and Type | Method and Description | 
|---|---|
| TracingConfig | clone() | 
| boolean | equals(Object obj) | 
| String | getMode()
 Can be either PassThrough or Active. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setMode(String mode)
 Can be either PassThrough or Active. | 
| void | setMode(TracingMode mode)
 Can be either PassThrough or Active. | 
| String | toString()Returns a string representation of this object; useful for testing and debugging. | 
| TracingConfig | withMode(String mode)
 Can be either PassThrough or Active. | 
| TracingConfig | withMode(TracingMode mode)
 Can be either PassThrough or Active. | 
public void setMode(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.
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.TracingModepublic String getMode()
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.
TracingModepublic TracingConfig withMode(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.
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.TracingModepublic void setMode(TracingMode 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.
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.TracingModepublic TracingConfig withMode(TracingMode 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.
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.TracingModepublic String toString()
toString in class ObjectObject.toString()public TracingConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.