@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GuardrailTopicPolicyConfig extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about topics that the guardrail should identify and deny.
| Constructor and Description |
|---|
GuardrailTopicPolicyConfig() |
| Modifier and Type | Method and Description |
|---|---|
GuardrailTopicPolicyConfig |
clone() |
boolean |
equals(Object obj) |
List<GuardrailTopicConfig> |
getTopicsConfig()
A list of policies related to topics that the guardrail should deny.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setTopicsConfig(Collection<GuardrailTopicConfig> topicsConfig)
A list of policies related to topics that the guardrail should deny.
|
String |
toString()
Returns a string representation of this object.
|
GuardrailTopicPolicyConfig |
withTopicsConfig(Collection<GuardrailTopicConfig> topicsConfig)
A list of policies related to topics that the guardrail should deny.
|
GuardrailTopicPolicyConfig |
withTopicsConfig(GuardrailTopicConfig... topicsConfig)
A list of policies related to topics that the guardrail should deny.
|
public List<GuardrailTopicConfig> getTopicsConfig()
A list of policies related to topics that the guardrail should deny.
public void setTopicsConfig(Collection<GuardrailTopicConfig> topicsConfig)
A list of policies related to topics that the guardrail should deny.
topicsConfig - A list of policies related to topics that the guardrail should deny.public GuardrailTopicPolicyConfig withTopicsConfig(GuardrailTopicConfig... topicsConfig)
A list of policies related to topics that the guardrail should deny.
NOTE: This method appends the values to the existing list (if any). Use
setTopicsConfig(java.util.Collection) or withTopicsConfig(java.util.Collection) if you want to
override the existing values.
topicsConfig - A list of policies related to topics that the guardrail should deny.public GuardrailTopicPolicyConfig withTopicsConfig(Collection<GuardrailTopicConfig> topicsConfig)
A list of policies related to topics that the guardrail should deny.
topicsConfig - A list of policies related to topics that the guardrail should deny.public String toString()
toString in class ObjectObject.toString()public GuardrailTopicPolicyConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.