@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 String id()
The unique identifier of the data source to update.
public 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 String indexId()
The identifier of the index that contains the data source to update.
public DataSourceConfiguration configuration()
public String description()
The new description for the data source.
public String schedule()
The new update schedule for the data source.
public 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 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.