@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)
Marshalls this structured data using the given
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.TracingMode
public String getMode()
The tracing mode.
TracingMode
public TracingConfig withMode(String mode)
The tracing mode.
mode
- The tracing mode.TracingMode
public void setMode(TracingMode mode)
The tracing mode.
mode
- The tracing mode.TracingMode
public TracingConfig withMode(TracingMode mode)
The tracing mode.
mode
- The tracing mode.TracingMode
public String toString()
toString
in class Object
Object.toString()
public TracingConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.