@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddDataSourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for the parameters to the AddDataSource
operation.
NOOP
Constructor and Description |
---|
AddDataSourceRequest() |
Modifier and Type | Method and Description |
---|---|
AddDataSourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
DataSourceType |
getDataSourceType()
The type of data source.
|
String |
getDescription()
A description of the data source.
|
String |
getDomainName()
The name of the domain to add the data source to.
|
String |
getName()
A name for the data source.
|
int |
hashCode() |
void |
setDataSourceType(DataSourceType dataSourceType)
The type of data source.
|
void |
setDescription(String description)
A description of the data source.
|
void |
setDomainName(String domainName)
The name of the domain to add the data source to.
|
void |
setName(String name)
A name for the data source.
|
String |
toString()
Returns a string representation of this object.
|
AddDataSourceRequest |
withDataSourceType(DataSourceType dataSourceType)
The type of data source.
|
AddDataSourceRequest |
withDescription(String description)
A description of the data source.
|
AddDataSourceRequest |
withDomainName(String domainName)
The name of the domain to add the data source to.
|
AddDataSourceRequest |
withName(String name)
A name 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 setDomainName(String domainName)
The name of the domain to add the data source to.
domainName
- The name of the domain to add the data source to.public String getDomainName()
The name of the domain to add the data source to.
public AddDataSourceRequest withDomainName(String domainName)
The name of the domain to add the data source to.
domainName
- The name of the domain to add the data source to.public void setName(String name)
A name for the data source.
name
- A name for the data source.public String getName()
A name for the data source.
public AddDataSourceRequest withName(String name)
A name for the data source.
name
- A name for the data source.public void setDataSourceType(DataSourceType dataSourceType)
The type of data source.
dataSourceType
- The type of data source.public DataSourceType getDataSourceType()
The type of data source.
public AddDataSourceRequest withDataSourceType(DataSourceType dataSourceType)
The type of data source.
dataSourceType
- The type of data source.public void setDescription(String description)
A description of the data source.
description
- A description of the data source.public String getDescription()
A description of the data source.
public AddDataSourceRequest withDescription(String description)
A description of the data source.
description
- A description of the data source.public String toString()
toString
in class Object
Object.toString()
public AddDataSourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()