@Generated(value="software.amazon.awssdk:codegen") public final class CreateFaqRequest extends KendraRequest implements ToCopyableBuilder<CreateFaqRequest.Builder,CreateFaqRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateFaqRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateFaqRequest.Builder |
builder() |
String |
description()
A description of the FAQ.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
indexId()
The identifier of the index that contains the FAQ.
|
String |
name()
The name that should be associated with the FAQ.
|
String |
roleArn()
The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQs.
|
S3Path |
s3Path()
The S3 location of the FAQ input data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateFaqRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
A list of key-value pairs that identify the FAQ.
|
CreateFaqRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String indexId()
The identifier of the index that contains the FAQ.
public String name()
The name that should be associated with the FAQ.
public String description()
A description of the FAQ.
public S3Path s3Path()
The S3 location of the FAQ input data.
public String roleArn()
The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQs. For more information, see IAM Roles for Amazon Kendra.
public boolean hasTags()
public List<Tag> tags()
A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your resources and to control access to resources.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public CreateFaqRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateFaqRequest.Builder,CreateFaqRequest>toBuilder in class KendraRequestpublic static CreateFaqRequest.Builder builder()
public static Class<? extends CreateFaqRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.