Class UpdateGuardrailRequest

    • Method Detail

      • guardrailIdentifier

        public final String guardrailIdentifier()

        The unique identifier of the guardrail. This can be an ID or the ARN.

        Returns:
        The unique identifier of the guardrail. This can be an ID or the ARN.
      • name

        public final String name()

        A name for the guardrail.

        Returns:
        A name for the guardrail.
      • description

        public final String description()

        A description of the guardrail.

        Returns:
        A description of the guardrail.
      • topicPolicyConfig

        public final GuardrailTopicPolicyConfig topicPolicyConfig()

        The topic policy to configure for the guardrail.

        Returns:
        The topic policy to configure for the guardrail.
      • contentPolicyConfig

        public final GuardrailContentPolicyConfig contentPolicyConfig()

        The content policy to configure for the guardrail.

        Returns:
        The content policy to configure for the guardrail.
      • wordPolicyConfig

        public final GuardrailWordPolicyConfig wordPolicyConfig()

        The word policy to configure for the guardrail.

        Returns:
        The word policy to configure for the guardrail.
      • sensitiveInformationPolicyConfig

        public final GuardrailSensitiveInformationPolicyConfig sensitiveInformationPolicyConfig()

        The sensitive information policy to configure for the guardrail.

        Returns:
        The sensitive information policy to configure for the guardrail.
      • contextualGroundingPolicyConfig

        public final GuardrailContextualGroundingPolicyConfig contextualGroundingPolicyConfig()

        The contextual grounding policy configuration used to update a guardrail.

        Returns:
        The contextual grounding policy configuration used to update a guardrail.
      • crossRegionConfig

        public final GuardrailCrossRegionConfig crossRegionConfig()

        The system-defined guardrail profile that you're using with your guardrail. Guardrail profiles define the destination Amazon Web Services Regions where guardrail inference requests can be automatically routed.

        For more information, see the Amazon Bedrock User Guide.

        Returns:
        The system-defined guardrail profile that you're using with your guardrail. Guardrail profiles define the destination Amazon Web Services Regions where guardrail inference requests can be automatically routed.

        For more information, see the Amazon Bedrock User Guide.

      • blockedInputMessaging

        public final String blockedInputMessaging()

        The message to return when the guardrail blocks a prompt.

        Returns:
        The message to return when the guardrail blocks a prompt.
      • blockedOutputsMessaging

        public final String blockedOutputsMessaging()

        The message to return when the guardrail blocks a model response.

        Returns:
        The message to return when the guardrail blocks a model response.
      • kmsKeyId

        public final String kmsKeyId()

        The ARN of the KMS key with which to encrypt the guardrail.

        Returns:
        The ARN of the KMS key with which to encrypt the guardrail.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object