@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConverseTrace extends Object implements Serializable, Cloneable, StructuredPojo
The trace object in a response from Converse. Currently, you can only trace guardrails.
Constructor and Description |
---|
ConverseTrace() |
Modifier and Type | Method and Description |
---|---|
ConverseTrace |
clone() |
boolean |
equals(Object obj) |
GuardrailTraceAssessment |
getGuardrail()
The guardrail trace object.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGuardrail(GuardrailTraceAssessment guardrail)
The guardrail trace object.
|
String |
toString()
Returns a string representation of this object.
|
ConverseTrace |
withGuardrail(GuardrailTraceAssessment guardrail)
The guardrail trace object.
|
public void setGuardrail(GuardrailTraceAssessment guardrail)
The guardrail trace object.
guardrail
- The guardrail trace object.public GuardrailTraceAssessment getGuardrail()
The guardrail trace object.
public ConverseTrace withGuardrail(GuardrailTraceAssessment guardrail)
The guardrail trace object.
guardrail
- The guardrail trace object.public String toString()
toString
in class Object
Object.toString()
public ConverseTrace clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.