Class ContentReference
- java.lang.Object
-
- software.amazon.awssdk.services.wisdom.model.ContentReference
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ContentReference.Builder,ContentReference>
@Generated("software.amazon.awssdk:codegen") public final class ContentReference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContentReference.Builder,ContentReference>
Reference information about the content.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceContentReference.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContentReference.Builderbuilder()StringcontentArn()The Amazon Resource Name (ARN) of the content.StringcontentId()The identifier of the content.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringknowledgeBaseArn()The Amazon Resource Name (ARN) of the knowledge base.StringknowledgeBaseId()The identifier of the knowledge base.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ContentReference.Builder>serializableBuilderClass()ContentReference.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
contentArn
public final String contentArn()
The Amazon Resource Name (ARN) of the content.
- Returns:
- The Amazon Resource Name (ARN) of the content.
-
contentId
public final String contentId()
The identifier of the content.
- Returns:
- The identifier of the content.
-
knowledgeBaseArn
public final String knowledgeBaseArn()
The Amazon Resource Name (ARN) of the knowledge base.
- Returns:
- The Amazon Resource Name (ARN) of the knowledge base.
-
knowledgeBaseId
public final String knowledgeBaseId()
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it.
- Returns:
- The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it.
-
toBuilder
public ContentReference.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ContentReference.Builder,ContentReference>
-
builder
public static ContentReference.Builder builder()
-
serializableBuilderClass
public static Class<? extends ContentReference.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-