Class GuardrailTopic
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.GuardrailTopic
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<GuardrailTopic.Builder,GuardrailTopic>
@Generated("software.amazon.awssdk:codegen") public final class GuardrailTopic extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GuardrailTopic.Builder,GuardrailTopic>
The details for a specific topic defined in the Guardrail.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GuardrailTopic.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GuardrailTopicPolicyAction
action()
The action details on a specific topic in the Guardrail.String
actionAsString()
The action details on a specific topic in the Guardrail.static GuardrailTopic.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
name()
The name details on a specific topic in the Guardrail.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends GuardrailTopic.Builder>
serializableBuilderClass()
GuardrailTopic.Builder
toBuilder()
String
toString()
Returns a string representation of this object.GuardrailTopicType
type()
The type details on a specific topic in the Guardrail.String
typeAsString()
The type details on a specific topic in the Guardrail.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
action
public final GuardrailTopicPolicyAction action()
The action details on a specific topic in the Guardrail.
If the service returns an enum value that is not available in the current SDK version,
action
will returnGuardrailTopicPolicyAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromactionAsString()
.- Returns:
- The action details on a specific topic in the Guardrail.
- See Also:
GuardrailTopicPolicyAction
-
actionAsString
public final String actionAsString()
The action details on a specific topic in the Guardrail.
If the service returns an enum value that is not available in the current SDK version,
action
will returnGuardrailTopicPolicyAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromactionAsString()
.- Returns:
- The action details on a specific topic in the Guardrail.
- See Also:
GuardrailTopicPolicyAction
-
name
public final String name()
The name details on a specific topic in the Guardrail.
- Returns:
- The name details on a specific topic in the Guardrail.
-
type
public final GuardrailTopicType type()
The type details on a specific topic in the Guardrail.
If the service returns an enum value that is not available in the current SDK version,
type
will returnGuardrailTopicType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The type details on a specific topic in the Guardrail.
- See Also:
GuardrailTopicType
-
typeAsString
public final String typeAsString()
The type details on a specific topic in the Guardrail.
If the service returns an enum value that is not available in the current SDK version,
type
will returnGuardrailTopicType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The type details on a specific topic in the Guardrail.
- See Also:
GuardrailTopicType
-
toBuilder
public GuardrailTopic.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<GuardrailTopic.Builder,GuardrailTopic>
-
builder
public static GuardrailTopic.Builder builder()
-
serializableBuilderClass
public static Class<? extends GuardrailTopic.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-