@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetIndexResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetIndexResult() |
| Modifier and Type | Method and Description |
|---|---|
GetIndexResult |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The identifier of the Amazon Q application associated with the index.
|
IndexCapacityConfiguration |
getCapacityConfiguration()
The storage capacity units chosen for your Amazon Q index.
|
Date |
getCreatedAt()
The Unix timestamp when the Amazon Q index was created.
|
String |
getDescription()
The description for the Amazon Q index.
|
String |
getDisplayName()
The name of the Amazon Q index.
|
List<DocumentAttributeConfiguration> |
getDocumentAttributeConfigurations()
Configuration information for document attributes or metadata.
|
ErrorDetail |
getError()
When the
Status field value is FAILED, the ErrorMessage field contains a
message that explains why. |
String |
getIndexArn()
The Amazon Resource Name (ARN) of the Amazon Q index.
|
String |
getIndexId()
The identifier of the Amazon Q index.
|
IndexStatistics |
getIndexStatistics()
Provides information about the number of documents indexed.
|
String |
getStatus()
The current status of the index.
|
Date |
getUpdatedAt()
The Unix timestamp when the Amazon Q index was last updated.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
The identifier of the Amazon Q application associated with the index.
|
void |
setCapacityConfiguration(IndexCapacityConfiguration capacityConfiguration)
The storage capacity units chosen for your Amazon Q index.
|
void |
setCreatedAt(Date createdAt)
The Unix timestamp when the Amazon Q index was created.
|
void |
setDescription(String description)
The description for the Amazon Q index.
|
void |
setDisplayName(String displayName)
The name of the Amazon Q index.
|
void |
setDocumentAttributeConfigurations(Collection<DocumentAttributeConfiguration> documentAttributeConfigurations)
Configuration information for document attributes or metadata.
|
void |
setError(ErrorDetail error)
When the
Status field value is FAILED, the ErrorMessage field contains a
message that explains why. |
void |
setIndexArn(String indexArn)
The Amazon Resource Name (ARN) of the Amazon Q index.
|
void |
setIndexId(String indexId)
The identifier of the Amazon Q index.
|
void |
setIndexStatistics(IndexStatistics indexStatistics)
Provides information about the number of documents indexed.
|
void |
setStatus(String status)
The current status of the index.
|
void |
setUpdatedAt(Date updatedAt)
The Unix timestamp when the Amazon Q index was last updated.
|
String |
toString()
Returns a string representation of this object.
|
GetIndexResult |
withApplicationId(String applicationId)
The identifier of the Amazon Q application associated with the index.
|
GetIndexResult |
withCapacityConfiguration(IndexCapacityConfiguration capacityConfiguration)
The storage capacity units chosen for your Amazon Q index.
|
GetIndexResult |
withCreatedAt(Date createdAt)
The Unix timestamp when the Amazon Q index was created.
|
GetIndexResult |
withDescription(String description)
The description for the Amazon Q index.
|
GetIndexResult |
withDisplayName(String displayName)
The name of the Amazon Q index.
|
GetIndexResult |
withDocumentAttributeConfigurations(Collection<DocumentAttributeConfiguration> documentAttributeConfigurations)
Configuration information for document attributes or metadata.
|
GetIndexResult |
withDocumentAttributeConfigurations(DocumentAttributeConfiguration... documentAttributeConfigurations)
Configuration information for document attributes or metadata.
|
GetIndexResult |
withError(ErrorDetail error)
When the
Status field value is FAILED, the ErrorMessage field contains a
message that explains why. |
GetIndexResult |
withIndexArn(String indexArn)
The Amazon Resource Name (ARN) of the Amazon Q index.
|
GetIndexResult |
withIndexId(String indexId)
The identifier of the Amazon Q index.
|
GetIndexResult |
withIndexStatistics(IndexStatistics indexStatistics)
Provides information about the number of documents indexed.
|
GetIndexResult |
withStatus(IndexStatus status)
The current status of the index.
|
GetIndexResult |
withStatus(String status)
The current status of the index.
|
GetIndexResult |
withUpdatedAt(Date updatedAt)
The Unix timestamp when the Amazon Q index was last updated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setApplicationId(String applicationId)
The identifier of the Amazon Q application associated with the index.
applicationId - The identifier of the Amazon Q application associated with the index.public String getApplicationId()
The identifier of the Amazon Q application associated with the index.
public GetIndexResult withApplicationId(String applicationId)
The identifier of the Amazon Q application associated with the index.
applicationId - The identifier of the Amazon Q application associated with the index.public void setCapacityConfiguration(IndexCapacityConfiguration capacityConfiguration)
The storage capacity units chosen for your Amazon Q index.
capacityConfiguration - The storage capacity units chosen for your Amazon Q index.public IndexCapacityConfiguration getCapacityConfiguration()
The storage capacity units chosen for your Amazon Q index.
public GetIndexResult withCapacityConfiguration(IndexCapacityConfiguration capacityConfiguration)
The storage capacity units chosen for your Amazon Q index.
capacityConfiguration - The storage capacity units chosen for your Amazon Q index.public void setCreatedAt(Date createdAt)
The Unix timestamp when the Amazon Q index was created.
createdAt - The Unix timestamp when the Amazon Q index was created.public Date getCreatedAt()
The Unix timestamp when the Amazon Q index was created.
public GetIndexResult withCreatedAt(Date createdAt)
The Unix timestamp when the Amazon Q index was created.
createdAt - The Unix timestamp when the Amazon Q index was created.public void setDescription(String description)
The description for the Amazon Q index.
description - The description for the Amazon Q index.public String getDescription()
The description for the Amazon Q index.
public GetIndexResult withDescription(String description)
The description for the Amazon Q index.
description - The description for the Amazon Q index.public void setDisplayName(String displayName)
The name of the Amazon Q index.
displayName - The name of the Amazon Q index.public String getDisplayName()
The name of the Amazon Q index.
public GetIndexResult withDisplayName(String displayName)
The name of the Amazon Q index.
displayName - The name of the Amazon Q index.public List<DocumentAttributeConfiguration> getDocumentAttributeConfigurations()
Configuration information for document attributes or metadata. Document metadata are fields associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.
public void setDocumentAttributeConfigurations(Collection<DocumentAttributeConfiguration> documentAttributeConfigurations)
Configuration information for document attributes or metadata. Document metadata are fields associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.
documentAttributeConfigurations - Configuration information for document attributes or metadata. Document metadata are fields associated
with your documents. For example, the company department name associated with each document. For more
information, see Understanding document attributes.public GetIndexResult withDocumentAttributeConfigurations(DocumentAttributeConfiguration... documentAttributeConfigurations)
Configuration information for document attributes or metadata. Document metadata are fields associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.
NOTE: This method appends the values to the existing list (if any). Use
setDocumentAttributeConfigurations(java.util.Collection) or
withDocumentAttributeConfigurations(java.util.Collection) if you want to override the existing values.
documentAttributeConfigurations - Configuration information for document attributes or metadata. Document metadata are fields associated
with your documents. For example, the company department name associated with each document. For more
information, see Understanding document attributes.public GetIndexResult withDocumentAttributeConfigurations(Collection<DocumentAttributeConfiguration> documentAttributeConfigurations)
Configuration information for document attributes or metadata. Document metadata are fields associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.
documentAttributeConfigurations - Configuration information for document attributes or metadata. Document metadata are fields associated
with your documents. For example, the company department name associated with each document. For more
information, see Understanding document attributes.public void setError(ErrorDetail error)
When the Status field value is FAILED, the ErrorMessage field contains a
message that explains why.
error - When the Status field value is FAILED, the ErrorMessage field
contains a message that explains why.public ErrorDetail getError()
When the Status field value is FAILED, the ErrorMessage field contains a
message that explains why.
Status field value is FAILED, the ErrorMessage field
contains a message that explains why.public GetIndexResult withError(ErrorDetail error)
When the Status field value is FAILED, the ErrorMessage field contains a
message that explains why.
error - When the Status field value is FAILED, the ErrorMessage field
contains a message that explains why.public void setIndexArn(String indexArn)
The Amazon Resource Name (ARN) of the Amazon Q index.
indexArn - The Amazon Resource Name (ARN) of the Amazon Q index.public String getIndexArn()
The Amazon Resource Name (ARN) of the Amazon Q index.
public GetIndexResult withIndexArn(String indexArn)
The Amazon Resource Name (ARN) of the Amazon Q index.
indexArn - The Amazon Resource Name (ARN) of the Amazon Q index.public void setIndexId(String indexId)
The identifier of the Amazon Q index.
indexId - The identifier of the Amazon Q index.public String getIndexId()
The identifier of the Amazon Q index.
public GetIndexResult withIndexId(String indexId)
The identifier of the Amazon Q index.
indexId - The identifier of the Amazon Q index.public void setIndexStatistics(IndexStatistics indexStatistics)
Provides information about the number of documents indexed.
indexStatistics - Provides information about the number of documents indexed.public IndexStatistics getIndexStatistics()
Provides information about the number of documents indexed.
public GetIndexResult withIndexStatistics(IndexStatistics indexStatistics)
Provides information about the number of documents indexed.
indexStatistics - Provides information about the number of documents indexed.public void setStatus(String status)
The current status of the index. When the value is ACTIVE, the index is ready for use. If the
Status field value is FAILED, the ErrorMessage field contains a message
that explains why.
status - The current status of the index. When the value is ACTIVE, the index is ready for use. If the
Status field value is FAILED, the ErrorMessage field contains a
message that explains why.IndexStatuspublic String getStatus()
The current status of the index. When the value is ACTIVE, the index is ready for use. If the
Status field value is FAILED, the ErrorMessage field contains a message
that explains why.
ACTIVE, the index is ready for use. If
the Status field value is FAILED, the ErrorMessage field contains
a message that explains why.IndexStatuspublic GetIndexResult withStatus(String status)
The current status of the index. When the value is ACTIVE, the index is ready for use. If the
Status field value is FAILED, the ErrorMessage field contains a message
that explains why.
status - The current status of the index. When the value is ACTIVE, the index is ready for use. If the
Status field value is FAILED, the ErrorMessage field contains a
message that explains why.IndexStatuspublic GetIndexResult withStatus(IndexStatus status)
The current status of the index. When the value is ACTIVE, the index is ready for use. If the
Status field value is FAILED, the ErrorMessage field contains a message
that explains why.
status - The current status of the index. When the value is ACTIVE, the index is ready for use. If the
Status field value is FAILED, the ErrorMessage field contains a
message that explains why.IndexStatuspublic void setUpdatedAt(Date updatedAt)
The Unix timestamp when the Amazon Q index was last updated.
updatedAt - The Unix timestamp when the Amazon Q index was last updated.public Date getUpdatedAt()
The Unix timestamp when the Amazon Q index was last updated.
public GetIndexResult withUpdatedAt(Date updatedAt)
The Unix timestamp when the Amazon Q index was last updated.
updatedAt - The Unix timestamp when the Amazon Q index was last updated.public String toString()
toString in class ObjectObject.toString()public GetIndexResult clone()
Copyright © 2023. All rights reserved.