@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GuardrailContextualGroundingFilterConfig extends Object implements Serializable, Cloneable, StructuredPojo
The filter configuration details for the guardrails contextual grounding filter.
| Constructor and Description |
|---|
GuardrailContextualGroundingFilterConfig() |
| Modifier and Type | Method and Description |
|---|---|
GuardrailContextualGroundingFilterConfig |
clone() |
boolean |
equals(Object obj) |
Double |
getThreshold()
The threshold details for the guardrails contextual grounding filter.
|
String |
getType()
The filter details for the guardrails contextual grounding filter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setThreshold(Double threshold)
The threshold details for the guardrails contextual grounding filter.
|
void |
setType(String type)
The filter details for the guardrails contextual grounding filter.
|
String |
toString()
Returns a string representation of this object.
|
GuardrailContextualGroundingFilterConfig |
withThreshold(Double threshold)
The threshold details for the guardrails contextual grounding filter.
|
GuardrailContextualGroundingFilterConfig |
withType(GuardrailContextualGroundingFilterType type)
The filter details for the guardrails contextual grounding filter.
|
GuardrailContextualGroundingFilterConfig |
withType(String type)
The filter details for the guardrails contextual grounding filter.
|
public GuardrailContextualGroundingFilterConfig()
public void setType(String type)
The filter details for the guardrails contextual grounding filter.
type - The filter details for the guardrails contextual grounding filter.GuardrailContextualGroundingFilterTypepublic String getType()
The filter details for the guardrails contextual grounding filter.
GuardrailContextualGroundingFilterTypepublic GuardrailContextualGroundingFilterConfig withType(String type)
The filter details for the guardrails contextual grounding filter.
type - The filter details for the guardrails contextual grounding filter.GuardrailContextualGroundingFilterTypepublic GuardrailContextualGroundingFilterConfig withType(GuardrailContextualGroundingFilterType type)
The filter details for the guardrails contextual grounding filter.
type - The filter details for the guardrails contextual grounding filter.GuardrailContextualGroundingFilterTypepublic void setThreshold(Double threshold)
The threshold details for the guardrails contextual grounding filter.
threshold - The threshold details for the guardrails contextual grounding filter.public Double getThreshold()
The threshold details for the guardrails contextual grounding filter.
public GuardrailContextualGroundingFilterConfig withThreshold(Double threshold)
The threshold details for the guardrails contextual grounding filter.
threshold - The threshold details for the guardrails contextual grounding filter.public String toString()
toString in class ObjectObject.toString()public GuardrailContextualGroundingFilterConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.