@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeQuerySuggestionsBlockListResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeQuerySuggestionsBlockListResult() |
Modifier and Type | Method and Description |
---|---|
DescribeQuerySuggestionsBlockListResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The Unix timestamp when a block list for query suggestions was created.
|
String |
getDescription()
The description for the block list.
|
String |
getErrorMessage()
The error message containing details if there are issues processing the block list.
|
Long |
getFileSizeBytes()
The current size of the block list text file in S3.
|
String |
getId()
The identifier of the block list.
|
String |
getIndexId()
The identifier of the index for the block list.
|
Integer |
getItemCount()
The current number of valid, non-empty words or phrases in the block list text file.
|
String |
getName()
The name of the block list.
|
String |
getRoleArn()
The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in S3.
|
S3Path |
getSourceS3Path()
Shows the current S3 path to your block list text file in your S3 bucket.
|
String |
getStatus()
The current status of the block list.
|
Date |
getUpdatedAt()
The Unix timestamp when a block list for query suggestions was last updated.
|
int |
hashCode() |
void |
setCreatedAt(Date createdAt)
The Unix timestamp when a block list for query suggestions was created.
|
void |
setDescription(String description)
The description for the block list.
|
void |
setErrorMessage(String errorMessage)
The error message containing details if there are issues processing the block list.
|
void |
setFileSizeBytes(Long fileSizeBytes)
The current size of the block list text file in S3.
|
void |
setId(String id)
The identifier of the block list.
|
void |
setIndexId(String indexId)
The identifier of the index for the block list.
|
void |
setItemCount(Integer itemCount)
The current number of valid, non-empty words or phrases in the block list text file.
|
void |
setName(String name)
The name of the block list.
|
void |
setRoleArn(String roleArn)
The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in S3.
|
void |
setSourceS3Path(S3Path sourceS3Path)
Shows the current S3 path to your block list text file in your S3 bucket.
|
void |
setStatus(String status)
The current status of the block list.
|
void |
setUpdatedAt(Date updatedAt)
The Unix timestamp when a block list for query suggestions was last updated.
|
String |
toString()
Returns a string representation of this object.
|
DescribeQuerySuggestionsBlockListResult |
withCreatedAt(Date createdAt)
The Unix timestamp when a block list for query suggestions was created.
|
DescribeQuerySuggestionsBlockListResult |
withDescription(String description)
The description for the block list.
|
DescribeQuerySuggestionsBlockListResult |
withErrorMessage(String errorMessage)
The error message containing details if there are issues processing the block list.
|
DescribeQuerySuggestionsBlockListResult |
withFileSizeBytes(Long fileSizeBytes)
The current size of the block list text file in S3.
|
DescribeQuerySuggestionsBlockListResult |
withId(String id)
The identifier of the block list.
|
DescribeQuerySuggestionsBlockListResult |
withIndexId(String indexId)
The identifier of the index for the block list.
|
DescribeQuerySuggestionsBlockListResult |
withItemCount(Integer itemCount)
The current number of valid, non-empty words or phrases in the block list text file.
|
DescribeQuerySuggestionsBlockListResult |
withName(String name)
The name of the block list.
|
DescribeQuerySuggestionsBlockListResult |
withRoleArn(String roleArn)
The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in S3.
|
DescribeQuerySuggestionsBlockListResult |
withSourceS3Path(S3Path sourceS3Path)
Shows the current S3 path to your block list text file in your S3 bucket.
|
DescribeQuerySuggestionsBlockListResult |
withStatus(QuerySuggestionsBlockListStatus status)
The current status of the block list.
|
DescribeQuerySuggestionsBlockListResult |
withStatus(String status)
The current status of the block list.
|
DescribeQuerySuggestionsBlockListResult |
withUpdatedAt(Date updatedAt)
The Unix timestamp when a block list for query suggestions was last updated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeQuerySuggestionsBlockListResult()
public void setIndexId(String indexId)
The identifier of the index for the block list.
indexId
- The identifier of the index for the block list.public String getIndexId()
The identifier of the index for the block list.
public DescribeQuerySuggestionsBlockListResult withIndexId(String indexId)
The identifier of the index for the block list.
indexId
- The identifier of the index for the block list.public void setId(String id)
The identifier of the block list.
id
- The identifier of the block list.public String getId()
The identifier of the block list.
public DescribeQuerySuggestionsBlockListResult withId(String id)
The identifier of the block list.
id
- The identifier of the block list.public void setName(String name)
The name of the block list.
name
- The name of the block list.public String getName()
The name of the block list.
public DescribeQuerySuggestionsBlockListResult withName(String name)
The name of the block list.
name
- The name of the block list.public void setDescription(String description)
The description for the block list.
description
- The description for the block list.public String getDescription()
The description for the block list.
public DescribeQuerySuggestionsBlockListResult withDescription(String description)
The description for the block list.
description
- The description for the block list.public void setStatus(String status)
The current status of the block list. When the value is ACTIVE
, the block list is ready for use.
status
- The current status of the block list. When the value is ACTIVE
, the block list is ready for
use.QuerySuggestionsBlockListStatus
public String getStatus()
The current status of the block list. When the value is ACTIVE
, the block list is ready for use.
ACTIVE
, the block list is ready for
use.QuerySuggestionsBlockListStatus
public DescribeQuerySuggestionsBlockListResult withStatus(String status)
The current status of the block list. When the value is ACTIVE
, the block list is ready for use.
status
- The current status of the block list. When the value is ACTIVE
, the block list is ready for
use.QuerySuggestionsBlockListStatus
public DescribeQuerySuggestionsBlockListResult withStatus(QuerySuggestionsBlockListStatus status)
The current status of the block list. When the value is ACTIVE
, the block list is ready for use.
status
- The current status of the block list. When the value is ACTIVE
, the block list is ready for
use.QuerySuggestionsBlockListStatus
public void setErrorMessage(String errorMessage)
The error message containing details if there are issues processing the block list.
errorMessage
- The error message containing details if there are issues processing the block list.public String getErrorMessage()
The error message containing details if there are issues processing the block list.
public DescribeQuerySuggestionsBlockListResult withErrorMessage(String errorMessage)
The error message containing details if there are issues processing the block list.
errorMessage
- The error message containing details if there are issues processing the block list.public void setCreatedAt(Date createdAt)
The Unix timestamp when a block list for query suggestions was created.
createdAt
- The Unix timestamp when a block list for query suggestions was created.public Date getCreatedAt()
The Unix timestamp when a block list for query suggestions was created.
public DescribeQuerySuggestionsBlockListResult withCreatedAt(Date createdAt)
The Unix timestamp when a block list for query suggestions was created.
createdAt
- The Unix timestamp when a block list for query suggestions was created.public void setUpdatedAt(Date updatedAt)
The Unix timestamp when a block list for query suggestions was last updated.
updatedAt
- The Unix timestamp when a block list for query suggestions was last updated.public Date getUpdatedAt()
The Unix timestamp when a block list for query suggestions was last updated.
public DescribeQuerySuggestionsBlockListResult withUpdatedAt(Date updatedAt)
The Unix timestamp when a block list for query suggestions was last updated.
updatedAt
- The Unix timestamp when a block list for query suggestions was last updated.public void setSourceS3Path(S3Path sourceS3Path)
Shows the current S3 path to your block list text file in your S3 bucket.
Each block word or phrase should be on a separate line in a text file.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
sourceS3Path
- Shows the current S3 path to your block list text file in your S3 bucket.
Each block word or phrase should be on a separate line in a text file.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
public S3Path getSourceS3Path()
Shows the current S3 path to your block list text file in your S3 bucket.
Each block word or phrase should be on a separate line in a text file.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
Each block word or phrase should be on a separate line in a text file.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
public DescribeQuerySuggestionsBlockListResult withSourceS3Path(S3Path sourceS3Path)
Shows the current S3 path to your block list text file in your S3 bucket.
Each block word or phrase should be on a separate line in a text file.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
sourceS3Path
- Shows the current S3 path to your block list text file in your S3 bucket.
Each block word or phrase should be on a separate line in a text file.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
public void setItemCount(Integer itemCount)
The current number of valid, non-empty words or phrases in the block list text file.
itemCount
- The current number of valid, non-empty words or phrases in the block list text file.public Integer getItemCount()
The current number of valid, non-empty words or phrases in the block list text file.
public DescribeQuerySuggestionsBlockListResult withItemCount(Integer itemCount)
The current number of valid, non-empty words or phrases in the block list text file.
itemCount
- The current number of valid, non-empty words or phrases in the block list text file.public void setFileSizeBytes(Long fileSizeBytes)
The current size of the block list text file in S3.
fileSizeBytes
- The current size of the block list text file in S3.public Long getFileSizeBytes()
The current size of the block list text file in S3.
public DescribeQuerySuggestionsBlockListResult withFileSizeBytes(Long fileSizeBytes)
The current size of the block list text file in S3.
fileSizeBytes
- The current size of the block list text file in S3.public void setRoleArn(String roleArn)
The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in S3.
The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra.
roleArn
- The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in
S3.
The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra.
public String getRoleArn()
The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in S3.
The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra.
The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra.
public DescribeQuerySuggestionsBlockListResult withRoleArn(String roleArn)
The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in S3.
The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra.
roleArn
- The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in
S3.
The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra.
public String toString()
toString
in class Object
Object.toString()
public DescribeQuerySuggestionsBlockListResult clone()