@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GuardrailConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Configuration information for a guardrail that you use with the Converse operation.
| Constructor and Description |
|---|
GuardrailConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
GuardrailConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getGuardrailIdentifier()
The identifier for the guardrail.
|
String |
getGuardrailVersion()
The version of the guardrail.
|
String |
getTrace()
The trace behavior for the guardrail.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setGuardrailIdentifier(String guardrailIdentifier)
The identifier for the guardrail.
|
void |
setGuardrailVersion(String guardrailVersion)
The version of the guardrail.
|
void |
setTrace(String trace)
The trace behavior for the guardrail.
|
String |
toString()
Returns a string representation of this object.
|
GuardrailConfiguration |
withGuardrailIdentifier(String guardrailIdentifier)
The identifier for the guardrail.
|
GuardrailConfiguration |
withGuardrailVersion(String guardrailVersion)
The version of the guardrail.
|
GuardrailConfiguration |
withTrace(GuardrailTrace trace)
The trace behavior for the guardrail.
|
GuardrailConfiguration |
withTrace(String trace)
The trace behavior for the guardrail.
|
public void setGuardrailIdentifier(String guardrailIdentifier)
The identifier for the guardrail.
guardrailIdentifier - The identifier for the guardrail.public String getGuardrailIdentifier()
The identifier for the guardrail.
public GuardrailConfiguration withGuardrailIdentifier(String guardrailIdentifier)
The identifier for the guardrail.
guardrailIdentifier - The identifier for the guardrail.public void setGuardrailVersion(String guardrailVersion)
The version of the guardrail.
guardrailVersion - The version of the guardrail.public String getGuardrailVersion()
The version of the guardrail.
public GuardrailConfiguration withGuardrailVersion(String guardrailVersion)
The version of the guardrail.
guardrailVersion - The version of the guardrail.public void setTrace(String trace)
The trace behavior for the guardrail.
trace - The trace behavior for the guardrail.GuardrailTracepublic String getTrace()
The trace behavior for the guardrail.
GuardrailTracepublic GuardrailConfiguration withTrace(String trace)
The trace behavior for the guardrail.
trace - The trace behavior for the guardrail.GuardrailTracepublic GuardrailConfiguration withTrace(GuardrailTrace trace)
The trace behavior for the guardrail.
trace - The trace behavior for the guardrail.GuardrailTracepublic String toString()
toString in class ObjectObject.toString()public GuardrailConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.