@Generated(value="software.amazon.awssdk:codegen") public final class DescribeExperienceResponse extends KendraResponse implements ToCopyableBuilder<DescribeExperienceResponse.Builder,DescribeExperienceResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeExperienceResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeExperienceResponse.Builder |
builder() |
ExperienceConfiguration |
configuration()
Shows the configuration information for your Amazon Kendra experience.
|
Instant |
createdAt()
The Unix timestamp when your Amazon Kendra experience was created.
|
String |
description()
Shows the description for your Amazon Kendra experience.
|
List<ExperienceEndpoint> |
endpoints()
Shows the endpoint URLs for your Amazon Kendra experiences.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorMessage()
The reason your Amazon Kendra experience could not properly process.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEndpoints()
For responses, this returns true if the service returned a value for the Endpoints property.
|
int |
hashCode() |
String |
id()
Shows the identifier of your Amazon Kendra experience.
|
String |
indexId()
Shows the identifier of the index for your Amazon Kendra experience.
|
String |
name()
Shows the name of your Amazon Kendra experience.
|
String |
roleArn()
Shows the Amazon Resource Name (ARN) of a role with permission to access
Query API,
QuerySuggestions API, SubmitFeedback API, and IAM Identity Center that stores your user
and group information. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeExperienceResponse.Builder> |
serializableBuilderClass() |
ExperienceStatus |
status()
The current processing status of your Amazon Kendra experience.
|
String |
statusAsString()
The current processing status of your Amazon Kendra experience.
|
DescribeExperienceResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
The Unix timestamp when your Amazon Kendra experience was last updated.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
Shows the identifier of your Amazon Kendra experience.
public final String indexId()
Shows the identifier of the index for your Amazon Kendra experience.
public final String name()
Shows the name of your Amazon Kendra experience.
public final boolean hasEndpoints()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<ExperienceEndpoint> endpoints()
Shows the endpoint URLs for your Amazon Kendra experiences. The URLs are unique and fully hosted by Amazon Web Services.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEndpoints() method.
public final ExperienceConfiguration configuration()
Shows the configuration information for your Amazon Kendra experience. This includes
ContentSourceConfiguration, which specifies the data source IDs and/or FAQ IDs, and
UserIdentityConfiguration, which specifies the user or group information to grant access to your
Amazon Kendra experience.
ContentSourceConfiguration, which specifies the data source IDs and/or FAQ IDs, and
UserIdentityConfiguration, which specifies the user or group information to grant access to
your Amazon Kendra experience.public final Instant createdAt()
The Unix timestamp when your Amazon Kendra experience was created.
public final Instant updatedAt()
The Unix timestamp when your Amazon Kendra experience was last updated.
public final String description()
Shows the description for your Amazon Kendra experience.
public final ExperienceStatus status()
The current processing status of your Amazon Kendra experience. When the status is ACTIVE, your
Amazon Kendra experience is ready to use. When the status is FAILED, the ErrorMessage
field contains the reason that this failed.
If the service returns an enum value that is not available in the current SDK version, status will
return ExperienceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ACTIVE,
your Amazon Kendra experience is ready to use. When the status is FAILED, the
ErrorMessage field contains the reason that this failed.ExperienceStatuspublic final String statusAsString()
The current processing status of your Amazon Kendra experience. When the status is ACTIVE, your
Amazon Kendra experience is ready to use. When the status is FAILED, the ErrorMessage
field contains the reason that this failed.
If the service returns an enum value that is not available in the current SDK version, status will
return ExperienceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ACTIVE,
your Amazon Kendra experience is ready to use. When the status is FAILED, the
ErrorMessage field contains the reason that this failed.ExperienceStatuspublic final String roleArn()
Shows the Amazon Resource Name (ARN) of a role with permission to access Query API,
QuerySuggestions API, SubmitFeedback API, and IAM Identity Center that stores your user
and group information.
Query API,
QuerySuggestions API, SubmitFeedback API, and IAM Identity Center that stores
your user and group information.public final String errorMessage()
The reason your Amazon Kendra experience could not properly process.
public DescribeExperienceResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeExperienceResponse.Builder,DescribeExperienceResponse>toBuilder in class AwsResponsepublic static DescribeExperienceResponse.Builder builder()
public static Class<? extends DescribeExperienceResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.