@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDataSourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDataSourceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDataSourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The Amazon Web Services account ID.
|
DataSourceCredentials |
getCredentials()
The credentials Amazon QuickSight that uses to connect to your underlying source.
|
String |
getDataSourceId()
An ID for the data source.
|
DataSourceParameters |
getDataSourceParameters()
The parameters that Amazon QuickSight uses to connect to your underlying source.
|
List<String> |
getFolderArns()
When you create the data source, Amazon QuickSight adds the data source to these folders.
|
String |
getName()
A display name for the data source.
|
List<ResourcePermission> |
getPermissions()
A list of resource permissions on the data source.
|
SslProperties |
getSslProperties()
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.
|
List<Tag> |
getTags()
Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.
|
String |
getType()
The type of the data source.
|
VpcConnectionProperties |
getVpcConnectionProperties()
Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your
underlying source.
|
int |
hashCode() |
void |
setAwsAccountId(String awsAccountId)
The Amazon Web Services account ID.
|
void |
setCredentials(DataSourceCredentials credentials)
The credentials Amazon QuickSight that uses to connect to your underlying source.
|
void |
setDataSourceId(String dataSourceId)
An ID for the data source.
|
void |
setDataSourceParameters(DataSourceParameters dataSourceParameters)
The parameters that Amazon QuickSight uses to connect to your underlying source.
|
void |
setFolderArns(Collection<String> folderArns)
When you create the data source, Amazon QuickSight adds the data source to these folders.
|
void |
setName(String name)
A display name for the data source.
|
void |
setPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions on the data source.
|
void |
setSslProperties(SslProperties sslProperties)
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.
|
void |
setTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.
|
void |
setType(String type)
The type of the data source.
|
void |
setVpcConnectionProperties(VpcConnectionProperties vpcConnectionProperties)
Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your
underlying source.
|
String |
toString()
Returns a string representation of this object.
|
CreateDataSourceRequest |
withAwsAccountId(String awsAccountId)
The Amazon Web Services account ID.
|
CreateDataSourceRequest |
withCredentials(DataSourceCredentials credentials)
The credentials Amazon QuickSight that uses to connect to your underlying source.
|
CreateDataSourceRequest |
withDataSourceId(String dataSourceId)
An ID for the data source.
|
CreateDataSourceRequest |
withDataSourceParameters(DataSourceParameters dataSourceParameters)
The parameters that Amazon QuickSight uses to connect to your underlying source.
|
CreateDataSourceRequest |
withFolderArns(Collection<String> folderArns)
When you create the data source, Amazon QuickSight adds the data source to these folders.
|
CreateDataSourceRequest |
withFolderArns(String... folderArns)
When you create the data source, Amazon QuickSight adds the data source to these folders.
|
CreateDataSourceRequest |
withName(String name)
A display name for the data source.
|
CreateDataSourceRequest |
withPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions on the data source.
|
CreateDataSourceRequest |
withPermissions(ResourcePermission... permissions)
A list of resource permissions on the data source.
|
CreateDataSourceRequest |
withSslProperties(SslProperties sslProperties)
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.
|
CreateDataSourceRequest |
withTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.
|
CreateDataSourceRequest |
withTags(Tag... tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.
|
CreateDataSourceRequest |
withType(DataSourceType type)
The type of the data source.
|
CreateDataSourceRequest |
withType(String type)
The type of the data source.
|
CreateDataSourceRequest |
withVpcConnectionProperties(VpcConnectionProperties vpcConnectionProperties)
Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your
underlying 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 setAwsAccountId(String awsAccountId)
The Amazon Web Services account ID.
awsAccountId
- The Amazon Web Services account ID.public String getAwsAccountId()
The Amazon Web Services account ID.
public CreateDataSourceRequest withAwsAccountId(String awsAccountId)
The Amazon Web Services account ID.
awsAccountId
- The Amazon Web Services account ID.public void setDataSourceId(String dataSourceId)
An ID for the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
dataSourceId
- An ID for the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services
account.public String getDataSourceId()
An ID for the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
public CreateDataSourceRequest withDataSourceId(String dataSourceId)
An ID for the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
dataSourceId
- An ID for the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services
account.public void setName(String name)
A display name for the data source.
name
- A display name for the data source.public String getName()
A display name for the data source.
public CreateDataSourceRequest withName(String name)
A display name for the data source.
name
- A display name for the data source.public void setType(String type)
The type of the data source. To return a list of all data sources, use ListDataSources
.
Use AMAZON_ELASTICSEARCH
for Amazon OpenSearch Service.
type
- The type of the data source. To return a list of all data sources, use ListDataSources
.
Use AMAZON_ELASTICSEARCH
for Amazon OpenSearch Service.
DataSourceType
public String getType()
The type of the data source. To return a list of all data sources, use ListDataSources
.
Use AMAZON_ELASTICSEARCH
for Amazon OpenSearch Service.
ListDataSources
.
Use AMAZON_ELASTICSEARCH
for Amazon OpenSearch Service.
DataSourceType
public CreateDataSourceRequest withType(String type)
The type of the data source. To return a list of all data sources, use ListDataSources
.
Use AMAZON_ELASTICSEARCH
for Amazon OpenSearch Service.
type
- The type of the data source. To return a list of all data sources, use ListDataSources
.
Use AMAZON_ELASTICSEARCH
for Amazon OpenSearch Service.
DataSourceType
public CreateDataSourceRequest withType(DataSourceType type)
The type of the data source. To return a list of all data sources, use ListDataSources
.
Use AMAZON_ELASTICSEARCH
for Amazon OpenSearch Service.
type
- The type of the data source. To return a list of all data sources, use ListDataSources
.
Use AMAZON_ELASTICSEARCH
for Amazon OpenSearch Service.
DataSourceType
public void setDataSourceParameters(DataSourceParameters dataSourceParameters)
The parameters that Amazon QuickSight uses to connect to your underlying source.
dataSourceParameters
- The parameters that Amazon QuickSight uses to connect to your underlying source.public DataSourceParameters getDataSourceParameters()
The parameters that Amazon QuickSight uses to connect to your underlying source.
public CreateDataSourceRequest withDataSourceParameters(DataSourceParameters dataSourceParameters)
The parameters that Amazon QuickSight uses to connect to your underlying source.
dataSourceParameters
- The parameters that Amazon QuickSight uses to connect to your underlying source.public void setCredentials(DataSourceCredentials credentials)
The credentials Amazon QuickSight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.
credentials
- The credentials Amazon QuickSight that uses to connect to your underlying source. Currently, only
credentials based on user name and password are supported.public DataSourceCredentials getCredentials()
The credentials Amazon QuickSight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.
public CreateDataSourceRequest withCredentials(DataSourceCredentials credentials)
The credentials Amazon QuickSight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.
credentials
- The credentials Amazon QuickSight that uses to connect to your underlying source. Currently, only
credentials based on user name and password are supported.public List<ResourcePermission> getPermissions()
A list of resource permissions on the data source.
public void setPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions on the data source.
permissions
- A list of resource permissions on the data source.public CreateDataSourceRequest withPermissions(ResourcePermission... permissions)
A list of resource permissions on the data source.
NOTE: This method appends the values to the existing list (if any). Use
setPermissions(java.util.Collection)
or withPermissions(java.util.Collection)
if you want to
override the existing values.
permissions
- A list of resource permissions on the data source.public CreateDataSourceRequest withPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions on the data source.
permissions
- A list of resource permissions on the data source.public void setVpcConnectionProperties(VpcConnectionProperties vpcConnectionProperties)
Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.
vpcConnectionProperties
- Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your
underlying source.public VpcConnectionProperties getVpcConnectionProperties()
Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.
public CreateDataSourceRequest withVpcConnectionProperties(VpcConnectionProperties vpcConnectionProperties)
Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.
vpcConnectionProperties
- Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your
underlying source.public void setSslProperties(SslProperties sslProperties)
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.
sslProperties
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.public SslProperties getSslProperties()
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.
public CreateDataSourceRequest withSslProperties(SslProperties sslProperties)
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.
sslProperties
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.public List<Tag> getTags()
Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.
public void setTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.
tags
- Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.public CreateDataSourceRequest withTags(Tag... tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.public CreateDataSourceRequest withTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.
tags
- Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.public List<String> getFolderArns()
When you create the data source, Amazon QuickSight adds the data source to these folders.
public void setFolderArns(Collection<String> folderArns)
When you create the data source, Amazon QuickSight adds the data source to these folders.
folderArns
- When you create the data source, Amazon QuickSight adds the data source to these folders.public CreateDataSourceRequest withFolderArns(String... folderArns)
When you create the data source, Amazon QuickSight adds the data source to these folders.
NOTE: This method appends the values to the existing list (if any). Use
setFolderArns(java.util.Collection)
or withFolderArns(java.util.Collection)
if you want to
override the existing values.
folderArns
- When you create the data source, Amazon QuickSight adds the data source to these folders.public CreateDataSourceRequest withFolderArns(Collection<String> folderArns)
When you create the data source, Amazon QuickSight adds the data source to these folders.
folderArns
- When you create the data source, Amazon QuickSight adds the data source to these folders.public String toString()
toString
in class Object
Object.toString()
public CreateDataSourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()