@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BedrockGuardrailConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The details on the Bedrock guardrail configuration.
Constructor and Description |
---|
BedrockGuardrailConfiguration() |
Modifier and Type | Method and Description |
---|---|
BedrockGuardrailConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getIdentifier()
The unique guardrail id for the Bedrock guardrail configuration.
|
String |
getVersion()
The guardrail version for the Bedrock guardrail configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIdentifier(String identifier)
The unique guardrail id for the Bedrock guardrail configuration.
|
void |
setVersion(String version)
The guardrail version for the Bedrock guardrail configuration.
|
String |
toString()
Returns a string representation of this object.
|
BedrockGuardrailConfiguration |
withIdentifier(String identifier)
The unique guardrail id for the Bedrock guardrail configuration.
|
BedrockGuardrailConfiguration |
withVersion(String version)
The guardrail version for the Bedrock guardrail configuration.
|
public void setIdentifier(String identifier)
The unique guardrail id for the Bedrock guardrail configuration.
identifier
- The unique guardrail id for the Bedrock guardrail configuration.public String getIdentifier()
The unique guardrail id for the Bedrock guardrail configuration.
public BedrockGuardrailConfiguration withIdentifier(String identifier)
The unique guardrail id for the Bedrock guardrail configuration.
identifier
- The unique guardrail id for the Bedrock guardrail configuration.public void setVersion(String version)
The guardrail version for the Bedrock guardrail configuration.
version
- The guardrail version for the Bedrock guardrail configuration.public String getVersion()
The guardrail version for the Bedrock guardrail configuration.
public BedrockGuardrailConfiguration withVersion(String version)
The guardrail version for the Bedrock guardrail configuration.
version
- The guardrail version for the Bedrock guardrail configuration.public String toString()
toString
in class Object
Object.toString()
public BedrockGuardrailConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.