@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TracingConfig extends Object implements Serializable, Cloneable, StructuredPojo
The function's X-Ray tracing
configuration. To sample and record incoming requests, set Mode to Active.
| Constructor and Description |
|---|
TracingConfig() |
| Modifier and Type | Method and Description |
|---|---|
TracingConfig |
clone() |
boolean |
equals(Object obj) |
String |
getMode()
The tracing mode.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setMode(String mode)
The tracing mode.
|
void |
setMode(TracingMode mode)
The tracing mode.
|
String |
toString()
Returns a string representation of this object.
|
TracingConfig |
withMode(String mode)
The tracing mode.
|
TracingConfig |
withMode(TracingMode mode)
The tracing mode.
|
public void setMode(String mode)
The tracing mode.
mode - The tracing mode.TracingModepublic String getMode()
The tracing mode.
TracingModepublic TracingConfig withMode(String mode)
The tracing mode.
mode - The tracing mode.TracingModepublic void setMode(TracingMode mode)
The tracing mode.
mode - The tracing mode.TracingModepublic TracingConfig withMode(TracingMode mode)
The tracing mode.
mode - The tracing mode.TracingModepublic String toString()
toString in class ObjectObject.toString()public TracingConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.