@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GuardrailContextualGroundingFilter extends Object implements Serializable, Cloneable, StructuredPojo
The details for the guardrails contextual grounding filter.
Constructor and Description |
---|
GuardrailContextualGroundingFilter() |
Modifier and Type | Method and Description |
---|---|
GuardrailContextualGroundingFilter |
clone() |
boolean |
equals(Object obj) |
Double |
getThreshold()
The threshold details for the guardrails contextual grounding filter.
|
String |
getType()
The filter type 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 type details for the guardrails contextual grounding filter.
|
String |
toString()
Returns a string representation of this object.
|
GuardrailContextualGroundingFilter |
withThreshold(Double threshold)
The threshold details for the guardrails contextual grounding filter.
|
GuardrailContextualGroundingFilter |
withType(GuardrailContextualGroundingFilterType type)
The filter type details for the guardrails contextual grounding filter.
|
GuardrailContextualGroundingFilter |
withType(String type)
The filter type details for the guardrails contextual grounding filter.
|
public void setType(String type)
The filter type details for the guardrails contextual grounding filter.
type
- The filter type details for the guardrails contextual grounding filter.GuardrailContextualGroundingFilterType
public String getType()
The filter type details for the guardrails contextual grounding filter.
GuardrailContextualGroundingFilterType
public GuardrailContextualGroundingFilter withType(String type)
The filter type details for the guardrails contextual grounding filter.
type
- The filter type details for the guardrails contextual grounding filter.GuardrailContextualGroundingFilterType
public GuardrailContextualGroundingFilter withType(GuardrailContextualGroundingFilterType type)
The filter type details for the guardrails contextual grounding filter.
type
- The filter type details for the guardrails contextual grounding filter.GuardrailContextualGroundingFilterType
public 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 GuardrailContextualGroundingFilter 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 Object
Object.toString()
public GuardrailContextualGroundingFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.