Class ContentReference
- java.lang.Object
-
- software.amazon.awssdk.services.qconnect.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.ReferenceTypereferenceType()The type of reference content.StringreferenceTypeAsString()The type of reference content.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ContentReference.Builder>serializableBuilderClass()StringsourceURL()The web URL of the source content.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.
- Returns:
- The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base.
-
referenceType
public final ReferenceType referenceType()
The type of reference content.
If the service returns an enum value that is not available in the current SDK version,
referenceTypewill returnReferenceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreferenceTypeAsString().- Returns:
- The type of reference content.
- See Also:
ReferenceType
-
referenceTypeAsString
public final String referenceTypeAsString()
The type of reference content.
If the service returns an enum value that is not available in the current SDK version,
referenceTypewill returnReferenceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreferenceTypeAsString().- Returns:
- The type of reference content.
- See Also:
ReferenceType
-
sourceURL
public final String sourceURL()
The web URL of the source content.
- Returns:
- The web URL of the source content.
-
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
-
-