@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()
Shows the date-time a block list for query suggestions was created.
|
String |
getDescription()
Shows the description for the block list.
|
String |
getErrorMessage()
Shows the error message with details when there are issues in processing the block list.
|
Long |
getFileSizeBytes()
Shows the current size of the block list text file in S3.
|
String |
getId()
Shows the unique identifier of the block list.
|
String |
getIndexId()
Shows the identifier of the index for the block list.
|
Integer |
getItemCount()
Shows the current number of valid, non-empty words or phrases in the block list text file.
|
String |
getName()
Shows the name of the block list.
|
String |
getRoleArn()
Shows the current 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()
Shows whether the current status of the block list is
ACTIVE or INACTIVE . |
Date |
getUpdatedAt()
Shows the date-time a block list for query suggestions was last updated.
|
int |
hashCode() |
void |
setCreatedAt(Date createdAt)
Shows the date-time a block list for query suggestions was created.
|
void |
setDescription(String description)
Shows the description for the block list.
|
void |
setErrorMessage(String errorMessage)
Shows the error message with details when there are issues in processing the block list.
|
void |
setFileSizeBytes(Long fileSizeBytes)
Shows the current size of the block list text file in S3.
|
void |
setId(String id)
Shows the unique identifier of the block list.
|
void |
setIndexId(String indexId)
Shows the identifier of the index for the block list.
|
void |
setItemCount(Integer itemCount)
Shows the current number of valid, non-empty words or phrases in the block list text file.
|
void |
setName(String name)
Shows the name of the block list.
|
void |
setRoleArn(String roleArn)
Shows the current 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)
Shows whether the current status of the block list is
ACTIVE or INACTIVE . |
void |
setUpdatedAt(Date updatedAt)
Shows the date-time a block list for query suggestions was last updated.
|
String |
toString()
Returns a string representation of this object.
|
DescribeQuerySuggestionsBlockListResult |
withCreatedAt(Date createdAt)
Shows the date-time a block list for query suggestions was created.
|
DescribeQuerySuggestionsBlockListResult |
withDescription(String description)
Shows the description for the block list.
|
DescribeQuerySuggestionsBlockListResult |
withErrorMessage(String errorMessage)
Shows the error message with details when there are issues in processing the block list.
|
DescribeQuerySuggestionsBlockListResult |
withFileSizeBytes(Long fileSizeBytes)
Shows the current size of the block list text file in S3.
|
DescribeQuerySuggestionsBlockListResult |
withId(String id)
Shows the unique identifier of the block list.
|
DescribeQuerySuggestionsBlockListResult |
withIndexId(String indexId)
Shows the identifier of the index for the block list.
|
DescribeQuerySuggestionsBlockListResult |
withItemCount(Integer itemCount)
Shows the current number of valid, non-empty words or phrases in the block list text file.
|
DescribeQuerySuggestionsBlockListResult |
withName(String name)
Shows the name of the block list.
|
DescribeQuerySuggestionsBlockListResult |
withRoleArn(String roleArn)
Shows the current 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)
Shows whether the current status of the block list is
ACTIVE or INACTIVE . |
DescribeQuerySuggestionsBlockListResult |
withStatus(String status)
Shows whether the current status of the block list is
ACTIVE or INACTIVE . |
DescribeQuerySuggestionsBlockListResult |
withUpdatedAt(Date updatedAt)
Shows the date-time a block list for query suggestions was last updated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeQuerySuggestionsBlockListResult()
public void setIndexId(String indexId)
Shows the identifier of the index for the block list.
indexId
- Shows the identifier of the index for the block list.public String getIndexId()
Shows the identifier of the index for the block list.
public DescribeQuerySuggestionsBlockListResult withIndexId(String indexId)
Shows the identifier of the index for the block list.
indexId
- Shows the identifier of the index for the block list.public void setId(String id)
Shows the unique identifier of the block list.
id
- Shows the unique identifier of the block list.public String getId()
Shows the unique identifier of the block list.
public DescribeQuerySuggestionsBlockListResult withId(String id)
Shows the unique identifier of the block list.
id
- Shows the unique identifier of the block list.public void setName(String name)
Shows the name of the block list.
name
- Shows the name of the block list.public String getName()
Shows the name of the block list.
public DescribeQuerySuggestionsBlockListResult withName(String name)
Shows the name of the block list.
name
- Shows the name of the block list.public void setDescription(String description)
Shows the description for the block list.
description
- Shows the description for the block list.public String getDescription()
Shows the description for the block list.
public DescribeQuerySuggestionsBlockListResult withDescription(String description)
Shows the description for the block list.
description
- Shows the description for the block list.public void setStatus(String status)
Shows whether the current status of the block list is ACTIVE
or INACTIVE
.
status
- Shows whether the current status of the block list is ACTIVE
or INACTIVE
.QuerySuggestionsBlockListStatus
public String getStatus()
Shows whether the current status of the block list is ACTIVE
or INACTIVE
.
ACTIVE
or INACTIVE
.QuerySuggestionsBlockListStatus
public DescribeQuerySuggestionsBlockListResult withStatus(String status)
Shows whether the current status of the block list is ACTIVE
or INACTIVE
.
status
- Shows whether the current status of the block list is ACTIVE
or INACTIVE
.QuerySuggestionsBlockListStatus
public DescribeQuerySuggestionsBlockListResult withStatus(QuerySuggestionsBlockListStatus status)
Shows whether the current status of the block list is ACTIVE
or INACTIVE
.
status
- Shows whether the current status of the block list is ACTIVE
or INACTIVE
.QuerySuggestionsBlockListStatus
public void setErrorMessage(String errorMessage)
Shows the error message with details when there are issues in processing the block list.
errorMessage
- Shows the error message with details when there are issues in processing the block list.public String getErrorMessage()
Shows the error message with details when there are issues in processing the block list.
public DescribeQuerySuggestionsBlockListResult withErrorMessage(String errorMessage)
Shows the error message with details when there are issues in processing the block list.
errorMessage
- Shows the error message with details when there are issues in processing the block list.public void setCreatedAt(Date createdAt)
Shows the date-time a block list for query suggestions was created.
createdAt
- Shows the date-time a block list for query suggestions was created.public Date getCreatedAt()
Shows the date-time a block list for query suggestions was created.
public DescribeQuerySuggestionsBlockListResult withCreatedAt(Date createdAt)
Shows the date-time a block list for query suggestions was created.
createdAt
- Shows the date-time a block list for query suggestions was created.public void setUpdatedAt(Date updatedAt)
Shows the date-time a block list for query suggestions was last updated.
updatedAt
- Shows the date-time a block list for query suggestions was last updated.public Date getUpdatedAt()
Shows the date-time a block list for query suggestions was last updated.
public DescribeQuerySuggestionsBlockListResult withUpdatedAt(Date updatedAt)
Shows the date-time a block list for query suggestions was last updated.
updatedAt
- Shows the date-time 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)
Shows the current number of valid, non-empty words or phrases in the block list text file.
itemCount
- Shows the current number of valid, non-empty words or phrases in the block list text file.public Integer getItemCount()
Shows the current number of valid, non-empty words or phrases in the block list text file.
public DescribeQuerySuggestionsBlockListResult withItemCount(Integer itemCount)
Shows the current number of valid, non-empty words or phrases in the block list text file.
itemCount
- Shows the current number of valid, non-empty words or phrases in the block list text file.public void setFileSizeBytes(Long fileSizeBytes)
Shows the current size of the block list text file in S3.
fileSizeBytes
- Shows the current size of the block list text file in S3.public Long getFileSizeBytes()
Shows the current size of the block list text file in S3.
public DescribeQuerySuggestionsBlockListResult withFileSizeBytes(Long fileSizeBytes)
Shows the current size of the block list text file in S3.
fileSizeBytes
- Shows the current size of the block list text file in S3.public void setRoleArn(String roleArn)
Shows the current 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
- Shows the current 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()
Shows the current 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)
Shows the current 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
- Shows the current 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()