@Generated(value="software.amazon.awssdk:codegen") public final class UpdateIndexRequest extends KendraRequest implements ToCopyableBuilder<UpdateIndexRequest.Builder,UpdateIndexRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateIndexRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateIndexRequest.Builder |
builder() |
CapacityUnitsConfiguration |
capacityUnits()
Sets the number of addtional storage and query capacity units that should be used by the index.
|
String |
description()
A new description for the index.
|
List<DocumentMetadataConfiguration> |
documentMetadataConfigurationUpdates()
The document metadata to update.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDocumentMetadataConfigurationUpdates()
Returns true if the DocumentMetadataConfigurationUpdates property was specified by the sender (it may be empty),
or false if the sender did not specify the value (it will be empty).
|
int |
hashCode() |
String |
id()
The identifier of the index to update.
|
String |
name()
The name of the index to update.
|
String |
roleArn()
A new IAM role that gives Amazon Kendra permission to access your Amazon CloudWatch logs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateIndexRequest.Builder> |
serializableBuilderClass() |
UpdateIndexRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String id()
The identifier of the index to update.
public String name()
The name of the index to update.
public String roleArn()
A new IAM role that gives Amazon Kendra permission to access your Amazon CloudWatch logs.
public String description()
A new description for the index.
public boolean hasDocumentMetadataConfigurationUpdates()
public List<DocumentMetadataConfiguration> documentMetadataConfigurationUpdates()
The document metadata to update.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDocumentMetadataConfigurationUpdates() to see if a value was sent in this field.
public CapacityUnitsConfiguration capacityUnits()
Sets the number of addtional storage and query capacity units that should be used by the index. You can change the capacity of the index up to 5 times per day.
If you are using extra storage units, you can't reduce the storage capacity below that required to meet the storage needs for your index.
If you are using extra storage units, you can't reduce the storage capacity below that required to meet the storage needs for your index.
public UpdateIndexRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateIndexRequest.Builder,UpdateIndexRequest>toBuilder in class KendraRequestpublic static UpdateIndexRequest.Builder builder()
public static Class<? extends UpdateIndexRequest.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.