@Generated(value="software.amazon.awssdk:codegen") public final class UpdateDataSourceRequest extends KendraRequest implements ToCopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateDataSourceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateDataSourceRequest.Builder |
builder() |
DataSourceConfiguration |
configuration()
Returns the value of the Configuration property for this object.
|
String |
description()
The new description for the data source.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier of the data source to update.
|
String |
indexId()
The identifier of the index that contains the data source to update.
|
String |
name()
The name of the data source to update.
|
String |
roleArn()
The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.
|
String |
schedule()
The new update schedule for the data source.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateDataSourceRequest.Builder> |
serializableBuilderClass() |
UpdateDataSourceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The unique identifier of the data source to update.
public final String name()
The name of the data source to update. The name of the data source can't be updated. To rename a data source you must delete the data source and re-create it.
public final String indexId()
The identifier of the index that contains the data source to update.
public final DataSourceConfiguration configuration()
public final String description()
The new description for the data source.
public final String schedule()
The new update schedule for the data source.
public final String roleArn()
The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.
public UpdateDataSourceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>toBuilder in class KendraRequestpublic static UpdateDataSourceRequest.Builder builder()
public static Class<? extends UpdateDataSourceRequest.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.