@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeIndexResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeIndexResult() |
Modifier and Type | Method and Description |
---|---|
DescribeIndexResult |
clone() |
boolean |
equals(Object obj) |
CapacityUnitsConfiguration |
getCapacityUnits()
For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your application.
|
Date |
getCreatedAt()
The Unix timestamp when the index was created.
|
String |
getDescription()
The description for the index.
|
List<DocumentMetadataConfiguration> |
getDocumentMetadataConfigurations()
Configuration information for document metadata or fields.
|
String |
getEdition()
The Amazon Kendra edition used for the index.
|
String |
getErrorMessage()
When the
Status field value is FAILED , the ErrorMessage field contains a
message that explains why. |
String |
getId()
The identifier of the index.
|
IndexStatistics |
getIndexStatistics()
Provides information about the number of FAQ questions and answers and the number of text documents indexed.
|
String |
getName()
The name of the index.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your Amazon
CloudWatch logs.
|
ServerSideEncryptionConfiguration |
getServerSideEncryptionConfiguration()
The identifier of the KMS customer master key (CMK) that is used to encrypt your data.
|
String |
getStatus()
The current status of the index.
|
Date |
getUpdatedAt()
The Unix timestamp when the index was last updated.
|
String |
getUserContextPolicy()
The user context policy for the Amazon Kendra index.
|
UserGroupResolutionConfiguration |
getUserGroupResolutionConfiguration()
Whether you have enabled IAM Identity Center identity source for your users and groups.
|
List<UserTokenConfiguration> |
getUserTokenConfigurations()
The user token configuration for the Amazon Kendra index.
|
int |
hashCode() |
void |
setCapacityUnits(CapacityUnitsConfiguration capacityUnits)
For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your application.
|
void |
setCreatedAt(Date createdAt)
The Unix timestamp when the index was created.
|
void |
setDescription(String description)
The description for the index.
|
void |
setDocumentMetadataConfigurations(Collection<DocumentMetadataConfiguration> documentMetadataConfigurations)
Configuration information for document metadata or fields.
|
void |
setEdition(String edition)
The Amazon Kendra edition used for the index.
|
void |
setErrorMessage(String errorMessage)
When the
Status field value is FAILED , the ErrorMessage field contains a
message that explains why. |
void |
setId(String id)
The identifier of the index.
|
void |
setIndexStatistics(IndexStatistics indexStatistics)
Provides information about the number of FAQ questions and answers and the number of text documents indexed.
|
void |
setName(String name)
The name of the index.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your Amazon
CloudWatch logs.
|
void |
setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The identifier of the KMS customer master key (CMK) that is used to encrypt your data.
|
void |
setStatus(String status)
The current status of the index.
|
void |
setUpdatedAt(Date updatedAt)
The Unix timestamp when the index was last updated.
|
void |
setUserContextPolicy(String userContextPolicy)
The user context policy for the Amazon Kendra index.
|
void |
setUserGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration)
Whether you have enabled IAM Identity Center identity source for your users and groups.
|
void |
setUserTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations)
The user token configuration for the Amazon Kendra index.
|
String |
toString()
Returns a string representation of this object.
|
DescribeIndexResult |
withCapacityUnits(CapacityUnitsConfiguration capacityUnits)
For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your application.
|
DescribeIndexResult |
withCreatedAt(Date createdAt)
The Unix timestamp when the index was created.
|
DescribeIndexResult |
withDescription(String description)
The description for the index.
|
DescribeIndexResult |
withDocumentMetadataConfigurations(Collection<DocumentMetadataConfiguration> documentMetadataConfigurations)
Configuration information for document metadata or fields.
|
DescribeIndexResult |
withDocumentMetadataConfigurations(DocumentMetadataConfiguration... documentMetadataConfigurations)
Configuration information for document metadata or fields.
|
DescribeIndexResult |
withEdition(IndexEdition edition)
The Amazon Kendra edition used for the index.
|
DescribeIndexResult |
withEdition(String edition)
The Amazon Kendra edition used for the index.
|
DescribeIndexResult |
withErrorMessage(String errorMessage)
When the
Status field value is FAILED , the ErrorMessage field contains a
message that explains why. |
DescribeIndexResult |
withId(String id)
The identifier of the index.
|
DescribeIndexResult |
withIndexStatistics(IndexStatistics indexStatistics)
Provides information about the number of FAQ questions and answers and the number of text documents indexed.
|
DescribeIndexResult |
withName(String name)
The name of the index.
|
DescribeIndexResult |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your Amazon
CloudWatch logs.
|
DescribeIndexResult |
withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The identifier of the KMS customer master key (CMK) that is used to encrypt your data.
|
DescribeIndexResult |
withStatus(IndexStatus status)
The current status of the index.
|
DescribeIndexResult |
withStatus(String status)
The current status of the index.
|
DescribeIndexResult |
withUpdatedAt(Date updatedAt)
The Unix timestamp when the index was last updated.
|
DescribeIndexResult |
withUserContextPolicy(String userContextPolicy)
The user context policy for the Amazon Kendra index.
|
DescribeIndexResult |
withUserContextPolicy(UserContextPolicy userContextPolicy)
The user context policy for the Amazon Kendra index.
|
DescribeIndexResult |
withUserGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration)
Whether you have enabled IAM Identity Center identity source for your users and groups.
|
DescribeIndexResult |
withUserTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations)
The user token configuration for the Amazon Kendra index.
|
DescribeIndexResult |
withUserTokenConfigurations(UserTokenConfiguration... userTokenConfigurations)
The user token configuration for the Amazon Kendra index.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setName(String name)
The name of the index.
name
- The name of the index.public String getName()
The name of the index.
public DescribeIndexResult withName(String name)
The name of the index.
name
- The name of the index.public void setId(String id)
The identifier of the index.
id
- The identifier of the index.public String getId()
The identifier of the index.
public DescribeIndexResult withId(String id)
The identifier of the index.
id
- The identifier of the index.public void setEdition(String edition)
The Amazon Kendra edition used for the index. You decide the edition when you create the index.
edition
- The Amazon Kendra edition used for the index. You decide the edition when you create the index.IndexEdition
public String getEdition()
The Amazon Kendra edition used for the index. You decide the edition when you create the index.
IndexEdition
public DescribeIndexResult withEdition(String edition)
The Amazon Kendra edition used for the index. You decide the edition when you create the index.
edition
- The Amazon Kendra edition used for the index. You decide the edition when you create the index.IndexEdition
public DescribeIndexResult withEdition(IndexEdition edition)
The Amazon Kendra edition used for the index. You decide the edition when you create the index.
edition
- The Amazon Kendra edition used for the index. You decide the edition when you create the index.IndexEdition
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your Amazon CloudWatch logs.
roleArn
- The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your Amazon
CloudWatch logs.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your Amazon CloudWatch logs.
public DescribeIndexResult withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your Amazon CloudWatch logs.
roleArn
- The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your Amazon
CloudWatch logs.public void setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The identifier of the KMS customer master key (CMK) that is used to encrypt your data. Amazon Kendra doesn't support asymmetric CMKs.
serverSideEncryptionConfiguration
- The identifier of the KMS customer master key (CMK) that is used to encrypt your data. Amazon Kendra
doesn't support asymmetric CMKs.public ServerSideEncryptionConfiguration getServerSideEncryptionConfiguration()
The identifier of the KMS customer master key (CMK) that is used to encrypt your data. Amazon Kendra doesn't support asymmetric CMKs.
public DescribeIndexResult withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The identifier of the KMS customer master key (CMK) that is used to encrypt your data. Amazon Kendra doesn't support asymmetric CMKs.
serverSideEncryptionConfiguration
- The identifier of the KMS customer master key (CMK) that is used to encrypt your data. Amazon Kendra
doesn't support asymmetric CMKs.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.IndexStatus
public 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.IndexStatus
public DescribeIndexResult 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.IndexStatus
public DescribeIndexResult 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.IndexStatus
public void setDescription(String description)
The description for the index.
description
- The description for the index.public String getDescription()
The description for the index.
public DescribeIndexResult withDescription(String description)
The description for the index.
description
- The description for the index.public void setCreatedAt(Date createdAt)
The Unix timestamp when the index was created.
createdAt
- The Unix timestamp when the index was created.public Date getCreatedAt()
The Unix timestamp when the index was created.
public DescribeIndexResult withCreatedAt(Date createdAt)
The Unix timestamp when the index was created.
createdAt
- The Unix timestamp when the index was created.public void setUpdatedAt(Date updatedAt)
The Unix timestamp when the index was last updated.
updatedAt
- The Unix timestamp when the index was last updated.public Date getUpdatedAt()
The Unix timestamp when the index was last updated.
public DescribeIndexResult withUpdatedAt(Date updatedAt)
The Unix timestamp when the index was last updated.
updatedAt
- The Unix timestamp when the index was last updated.public List<DocumentMetadataConfiguration> getDocumentMetadataConfigurations()
Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
public void setDocumentMetadataConfigurations(Collection<DocumentMetadataConfiguration> documentMetadataConfigurations)
Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
documentMetadataConfigurations
- Configuration information for document metadata or fields. Document metadata are fields or attributes
associated with your documents. For example, the company department name associated with each document.public DescribeIndexResult withDocumentMetadataConfigurations(DocumentMetadataConfiguration... documentMetadataConfigurations)
Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
NOTE: This method appends the values to the existing list (if any). Use
setDocumentMetadataConfigurations(java.util.Collection)
or
withDocumentMetadataConfigurations(java.util.Collection)
if you want to override the existing values.
documentMetadataConfigurations
- Configuration information for document metadata or fields. Document metadata are fields or attributes
associated with your documents. For example, the company department name associated with each document.public DescribeIndexResult withDocumentMetadataConfigurations(Collection<DocumentMetadataConfiguration> documentMetadataConfigurations)
Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
documentMetadataConfigurations
- Configuration information for document metadata or fields. Document metadata are fields or attributes
associated with your documents. For example, the company department name associated with each document.public void setIndexStatistics(IndexStatistics indexStatistics)
Provides information about the number of FAQ questions and answers and the number of text documents indexed.
indexStatistics
- Provides information about the number of FAQ questions and answers and the number of text documents
indexed.public IndexStatistics getIndexStatistics()
Provides information about the number of FAQ questions and answers and the number of text documents indexed.
public DescribeIndexResult withIndexStatistics(IndexStatistics indexStatistics)
Provides information about the number of FAQ questions and answers and the number of text documents indexed.
indexStatistics
- Provides information about the number of FAQ questions and answers and the number of text documents
indexed.public void setErrorMessage(String errorMessage)
When the Status
field value is FAILED
, the ErrorMessage
field contains a
message that explains why.
errorMessage
- When the Status
field value is FAILED
, the ErrorMessage
field
contains a message that explains why.public String getErrorMessage()
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 DescribeIndexResult withErrorMessage(String errorMessage)
When the Status
field value is FAILED
, the ErrorMessage
field contains a
message that explains why.
errorMessage
- When the Status
field value is FAILED
, the ErrorMessage
field
contains a message that explains why.public void setCapacityUnits(CapacityUnitsConfiguration capacityUnits)
For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your application. This contains the capacity units used for the index. A query or document storage capacity of zero indicates that the index is using the default capacity. For more information on the default capacity for an index and adjusting this, see Adjusting capacity.
capacityUnits
- For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your
application. This contains the capacity units used for the index. A query or document storage capacity of
zero indicates that the index is using the default capacity. For more information on the default capacity
for an index and adjusting this, see Adjusting capacity.public CapacityUnitsConfiguration getCapacityUnits()
For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your application. This contains the capacity units used for the index. A query or document storage capacity of zero indicates that the index is using the default capacity. For more information on the default capacity for an index and adjusting this, see Adjusting capacity.
public DescribeIndexResult withCapacityUnits(CapacityUnitsConfiguration capacityUnits)
For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your application. This contains the capacity units used for the index. A query or document storage capacity of zero indicates that the index is using the default capacity. For more information on the default capacity for an index and adjusting this, see Adjusting capacity.
capacityUnits
- For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your
application. This contains the capacity units used for the index. A query or document storage capacity of
zero indicates that the index is using the default capacity. For more information on the default capacity
for an index and adjusting this, see Adjusting capacity.public List<UserTokenConfiguration> getUserTokenConfigurations()
The user token configuration for the Amazon Kendra index.
public void setUserTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations)
The user token configuration for the Amazon Kendra index.
userTokenConfigurations
- The user token configuration for the Amazon Kendra index.public DescribeIndexResult withUserTokenConfigurations(UserTokenConfiguration... userTokenConfigurations)
The user token configuration for the Amazon Kendra index.
NOTE: This method appends the values to the existing list (if any). Use
setUserTokenConfigurations(java.util.Collection)
or
withUserTokenConfigurations(java.util.Collection)
if you want to override the existing values.
userTokenConfigurations
- The user token configuration for the Amazon Kendra index.public DescribeIndexResult withUserTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations)
The user token configuration for the Amazon Kendra index.
userTokenConfigurations
- The user token configuration for the Amazon Kendra index.public void setUserContextPolicy(String userContextPolicy)
The user context policy for the Amazon Kendra index.
userContextPolicy
- The user context policy for the Amazon Kendra index.UserContextPolicy
public String getUserContextPolicy()
The user context policy for the Amazon Kendra index.
UserContextPolicy
public DescribeIndexResult withUserContextPolicy(String userContextPolicy)
The user context policy for the Amazon Kendra index.
userContextPolicy
- The user context policy for the Amazon Kendra index.UserContextPolicy
public DescribeIndexResult withUserContextPolicy(UserContextPolicy userContextPolicy)
The user context policy for the Amazon Kendra index.
userContextPolicy
- The user context policy for the Amazon Kendra index.UserContextPolicy
public void setUserGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration)
Whether you have enabled IAM Identity Center identity source for your users and groups. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
userGroupResolutionConfiguration
- Whether you have enabled IAM Identity Center identity source for your users and groups. This is useful for
user context filtering, where search results are filtered based on the user or their group access to
documents.public UserGroupResolutionConfiguration getUserGroupResolutionConfiguration()
Whether you have enabled IAM Identity Center identity source for your users and groups. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
public DescribeIndexResult withUserGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration)
Whether you have enabled IAM Identity Center identity source for your users and groups. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
userGroupResolutionConfiguration
- Whether you have enabled IAM Identity Center identity source for your users and groups. This is useful for
user context filtering, where search results are filtered based on the user or their group access to
documents.public String toString()
toString
in class Object
Object.toString()
public DescribeIndexResult clone()