public class UpdateDataSourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
UpdateDataSource operation
.
Updates the DataSourceName
of a DataSource
.
You can use the GetDataSource operation to view the contents of the updated data element.
NOOP
Constructor and Description |
---|
UpdateDataSourceRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDataSourceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDataSourceId()
The ID assigned to the
DataSource during creation. |
String |
getDataSourceName()
A new user-supplied name or description of the
DataSource
that will replace the current description. |
int |
hashCode() |
void |
setDataSourceId(String dataSourceId)
The ID assigned to the
DataSource during creation. |
void |
setDataSourceName(String dataSourceName)
A new user-supplied name or description of the
DataSource
that will replace the current description. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateDataSourceRequest |
withDataSourceId(String dataSourceId)
The ID assigned to the
DataSource during creation. |
UpdateDataSourceRequest |
withDataSourceName(String dataSourceName)
A new user-supplied name or description of the
DataSource
that will replace the current description. |
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getDataSourceId()
DataSource
during creation.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
DataSource
during creation.public void setDataSourceId(String dataSourceId)
DataSource
during creation.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
dataSourceId
- The ID assigned to the DataSource
during creation.public UpdateDataSourceRequest withDataSourceId(String dataSourceId)
DataSource
during creation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
dataSourceId
- The ID assigned to the DataSource
during creation.public String getDataSourceName()
DataSource
that will replace the current description.
Constraints:
Length: 0 - 1024
Pattern: .*\S.*|^$
DataSource
that will replace the current description.public void setDataSourceName(String dataSourceName)
DataSource
that will replace the current description.
Constraints:
Length: 0 - 1024
Pattern: .*\S.*|^$
dataSourceName
- A new user-supplied name or description of the DataSource
that will replace the current description.public UpdateDataSourceRequest withDataSourceName(String dataSourceName)
DataSource
that will replace the current description.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
Pattern: .*\S.*|^$
dataSourceName
- A new user-supplied name or description of the DataSource
that will replace the current description.public String toString()
toString
in class Object
Object.toString()
public UpdateDataSourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.