Class GuardrailSummary
- java.lang.Object
-
- software.amazon.awssdk.services.bedrock.model.GuardrailSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GuardrailSummary.Builder,GuardrailSummary>
@Generated("software.amazon.awssdk:codegen") public final class GuardrailSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GuardrailSummary.Builder,GuardrailSummary>
Contains details about a guardrail.
This data type is used in the following API operations:
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGuardrailSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the guardrail.static GuardrailSummary.Builderbuilder()InstantcreatedAt()The date and time at which the guardrail was created.Stringdescription()A description of the guardrail.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier of the guardrail.Stringname()The name of the guardrail.List<SdkField<?>>sdkFields()static Class<? extends GuardrailSummary.Builder>serializableBuilderClass()GuardrailStatusstatus()The status of the guardrail.StringstatusAsString()The status of the guardrail.GuardrailSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The date and time at which the guardrail was last updated.Stringversion()The version of 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
-
id
public final String id()
The unique identifier of the guardrail.
- Returns:
- The unique identifier of the guardrail.
-
arn
public final String arn()
The ARN of the guardrail.
- Returns:
- The ARN of the guardrail.
-
status
public final GuardrailStatus status()
The status of the guardrail.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnGuardrailStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the guardrail.
- See Also:
GuardrailStatus
-
statusAsString
public final String statusAsString()
The status of the guardrail.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnGuardrailStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the guardrail.
- See Also:
GuardrailStatus
-
name
public final String name()
The name of the guardrail.
- Returns:
- The name of the guardrail.
-
description
public final String description()
A description of the guardrail.
- Returns:
- A description of the guardrail.
-
version
public final String version()
The version of the guardrail.
- Returns:
- The version of the guardrail.
-
createdAt
public final Instant createdAt()
The date and time at which the guardrail was created.
- Returns:
- The date and time at which the guardrail was created.
-
updatedAt
public final Instant updatedAt()
The date and time at which the guardrail was last updated.
- Returns:
- The date and time at which the guardrail was last updated.
-
toBuilder
public GuardrailSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GuardrailSummary.Builder,GuardrailSummary>
-
builder
public static GuardrailSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends GuardrailSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
-