@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() |
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.
|
String |
getName()
The name of 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.
|
void |
setName(String name)
The name of 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.
|
AddDataSourceRequest |
withName(String name)
The name of the data source.
|
addHandlerContext, copyBaseTo, 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.
domainName
- The name of the domain.public String getDomainName()
The name of the domain.
public AddDataSourceRequest withDomainName(String domainName)
The name of the domain.
domainName
- The name of the domain.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 AddDataSourceRequest withName(String name)
The name of the data source.
name
- The name of 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()
clone
in class AmazonWebServiceRequest
Copyright © 2023. All rights reserved.