@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 additional 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() |
boolean |
hasUserTokenConfigurations()
Returns true if the UserTokenConfigurations 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 |
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.
|
UserContextPolicy |
userContextPolicy()
The user user token context policy.
|
String |
userContextPolicyAsString()
The user user token context policy.
|
List<UserTokenConfiguration> |
userTokenConfigurations()
The user token configuration.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The identifier of the index to update.
public final String name()
The name of the index to update.
public final String roleArn()
A new IAM role that gives Amazon Kendra permission to access your Amazon CloudWatch logs.
public final String description()
A new description for the index.
public final boolean hasDocumentMetadataConfigurationUpdates()
public final 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 final CapacityUnitsConfiguration capacityUnits()
Sets the number of additional 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 final boolean hasUserTokenConfigurations()
public final List<UserTokenConfiguration> userTokenConfigurations()
The user token configuration.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasUserTokenConfigurations() to see if a value was sent in this field.
public final UserContextPolicy userContextPolicy()
The user user token context policy.
If the service returns an enum value that is not available in the current SDK version, userContextPolicy
will return UserContextPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from userContextPolicyAsString().
UserContextPolicypublic final String userContextPolicyAsString()
The user user token context policy.
If the service returns an enum value that is not available in the current SDK version, userContextPolicy
will return UserContextPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from userContextPolicyAsString().
UserContextPolicypublic 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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.