public class DeleteDataSourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteDataSource operation
.
Assigns the DELETED status to a DataSource
, rendering it
unusable.
After using the DeleteDataSource
operation, you can use
the GetDataSource operation to verify that the status of the
DataSource
changed to DELETED.
NOOP
Constructor and Description |
---|
DeleteDataSourceRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteDataSourceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDataSourceId()
A user-supplied ID that uniquely identifies the
DataSource . |
int |
hashCode() |
void |
setDataSourceId(String dataSourceId)
A user-supplied ID that uniquely identifies the
DataSource . |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteDataSourceRequest |
withDataSourceId(String dataSourceId)
A user-supplied ID that uniquely identifies the
DataSource . |
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getDataSourceId()
DataSource
.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
DataSource
.public void setDataSourceId(String dataSourceId)
DataSource
.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
dataSourceId
- A user-supplied ID that uniquely identifies the
DataSource
.public DeleteDataSourceRequest withDataSourceId(String dataSourceId)
DataSource
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
dataSourceId
- A user-supplied ID that uniquely identifies the
DataSource
.public String toString()
toString
in class Object
Object.toString()
public DeleteDataSourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.