@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDataSourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateDataSourceRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDataSourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
DataSourceConfiguration |
getConfiguration() |
String |
getDescription()
The new description for the data source.
|
String |
getId()
The unique identifier of the data source to update.
|
String |
getIndexId()
The identifier of the index that contains the data source to update.
|
String |
getName()
The name of the data source to update.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.
|
String |
getSchedule()
The new update schedule for the data source.
|
int |
hashCode() |
void |
setConfiguration(DataSourceConfiguration configuration) |
void |
setDescription(String description)
The new description for the data source.
|
void |
setId(String id)
The unique identifier of the data source to update.
|
void |
setIndexId(String indexId)
The identifier of the index that contains the data source to update.
|
void |
setName(String name)
The name of the data source to update.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.
|
void |
setSchedule(String schedule)
The new update schedule for the data source.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDataSourceRequest |
withConfiguration(DataSourceConfiguration configuration) |
UpdateDataSourceRequest |
withDescription(String description)
The new description for the data source.
|
UpdateDataSourceRequest |
withId(String id)
The unique identifier of the data source to update.
|
UpdateDataSourceRequest |
withIndexId(String indexId)
The identifier of the index that contains the data source to update.
|
UpdateDataSourceRequest |
withName(String name)
The name of the data source to update.
|
UpdateDataSourceRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.
|
UpdateDataSourceRequest |
withSchedule(String schedule)
The new update schedule for the data source.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setId(String id)
The unique identifier of the data source to update.
id
- The unique identifier of the data source to update.public String getId()
The unique identifier of the data source to update.
public UpdateDataSourceRequest withId(String id)
The unique identifier of the data source to update.
id
- The unique identifier of the data source to update.public void setName(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.
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 getName()
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 UpdateDataSourceRequest withName(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.
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 void setIndexId(String indexId)
The identifier of the index that contains the data source to update.
indexId
- The identifier of the index that contains the data source to update.public String getIndexId()
The identifier of the index that contains the data source to update.
public UpdateDataSourceRequest withIndexId(String indexId)
The identifier of the index that contains the data source to update.
indexId
- The identifier of the index that contains the data source to update.public void setConfiguration(DataSourceConfiguration configuration)
configuration
- public DataSourceConfiguration getConfiguration()
public UpdateDataSourceRequest withConfiguration(DataSourceConfiguration configuration)
configuration
- public void setDescription(String description)
The new description for the data source.
description
- The new description for the data source.public String getDescription()
The new description for the data source.
public UpdateDataSourceRequest withDescription(String description)
The new description for the data source.
description
- The new description for the data source.public void setSchedule(String schedule)
The new update schedule for the data source.
schedule
- The new update schedule for the data source.public String getSchedule()
The new update schedule for the data source.
public UpdateDataSourceRequest withSchedule(String schedule)
The new update schedule for the data source.
schedule
- The new update schedule for the data source.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.
roleArn
- The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your
behalf.public String getRoleArn()
The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.
public UpdateDataSourceRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.
roleArn
- The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your
behalf.public String toString()
toString
in class Object
Object.toString()
public UpdateDataSourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()