@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDataSourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| GetDataSourceRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetDataSourceRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getApiId()
 The API ID. | 
| String | getName()
 The name of the data source. | 
| int | hashCode() | 
| void | setApiId(String apiId)
 The API ID. | 
| void | setName(String name)
 The name of the data source. | 
| String | toString()Returns a string representation of this object. | 
| GetDataSourceRequest | withApiId(String apiId)
 The API ID. | 
| GetDataSourceRequest | withName(String name)
 The name of 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, withSdkRequestTimeoutpublic void setApiId(String apiId)
The API ID.
apiId - The API ID.public String getApiId()
The API ID.
public GetDataSourceRequest withApiId(String apiId)
The API ID.
apiId - The API ID.public void setName(String name)
The name of the data source.
name - The name of the data source.public String getName()
The name of the data source.
public GetDataSourceRequest withName(String name)
The name of the data source.
name - The name of the data source.public String toString()
toString in class ObjectObject.toString()public GetDataSourceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()