@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 AWS account ID.
|
DataSourceCredentials |
getCredentials()
The credentials QuickSight uses to connect to your underlying source.
|
String |
getDataSourceId()
An ID for the data source.
|
DataSourceParameters |
getDataSourceParameters()
The parameters QuickSight uses to connect to your underlying source.
|
String |
getName()
A display name for the data source.
|
List<ResourcePermission> |
getPermissions()
A list of resource permissions on the data source.
|
SslProperties |
getSslProperties()
SSL properties that apply when 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()
You need to use this parameter only when you want QuickSight to use a VPC connection when connecting to your
underlying source.
|
int |
hashCode() |
void |
setAwsAccountId(String awsAccountId)
The AWS account ID.
|
void |
setCredentials(DataSourceCredentials credentials)
The credentials QuickSight uses to connect to your underlying source.
|
void |
setDataSourceId(String dataSourceId)
An ID for the data source.
|
void |
setDataSourceParameters(DataSourceParameters dataSourceParameters)
The parameters QuickSight uses to connect to your underlying source.
|
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)
SSL properties that apply when 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)
You need to use this parameter only when you want 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 AWS account ID.
|
CreateDataSourceRequest |
withCredentials(DataSourceCredentials credentials)
The credentials QuickSight uses to connect to your underlying source.
|
CreateDataSourceRequest |
withDataSourceId(String dataSourceId)
An ID for the data source.
|
CreateDataSourceRequest |
withDataSourceParameters(DataSourceParameters dataSourceParameters)
The parameters QuickSight uses to connect to your underlying source.
|
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)
SSL properties that apply when 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)
You need to use this parameter only when you want 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, withSdkRequestTimeoutpublic void setAwsAccountId(String awsAccountId)
The AWS account ID.
awsAccountId - The AWS account ID.public String getAwsAccountId()
The AWS account ID.
public CreateDataSourceRequest withAwsAccountId(String awsAccountId)
The AWS account ID.
awsAccountId - The AWS account ID.public void setDataSourceId(String dataSourceId)
An ID for the data source. This is unique per AWS Region per AWS account.
dataSourceId - An ID for the data source. This is unique per AWS Region per AWS account.public String getDataSourceId()
An ID for the data source. This is unique per AWS Region per AWS account.
public CreateDataSourceRequest withDataSourceId(String dataSourceId)
An ID for the data source. This is unique per AWS Region per AWS account.
dataSourceId - An ID for the data source. This is unique per AWS Region per AWS 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. Currently the supported types for this operation are:
ATHENA, AURORA, AURORA_POSTGRESQL, MARIADB, MYSQL, POSTGRESQL, PRESTO, REDSHIFT, S3, SNOWFLAKE, SPARK, SQLSERVER, TERADATA
. Use ListDataSources to return a list of all data sources.
type - The type of the data source. Currently the supported types for this operation are:
ATHENA, AURORA, AURORA_POSTGRESQL, MARIADB, MYSQL, POSTGRESQL, PRESTO, REDSHIFT, S3, SNOWFLAKE, SPARK, SQLSERVER, TERADATA
. Use ListDataSources to return a list of all data sources.DataSourceTypepublic String getType()
The type of the data source. Currently the supported types for this operation are:
ATHENA, AURORA, AURORA_POSTGRESQL, MARIADB, MYSQL, POSTGRESQL, PRESTO, REDSHIFT, S3, SNOWFLAKE, SPARK, SQLSERVER, TERADATA
. Use ListDataSources to return a list of all data sources.
ATHENA, AURORA, AURORA_POSTGRESQL, MARIADB, MYSQL, POSTGRESQL, PRESTO, REDSHIFT, S3, SNOWFLAKE, SPARK, SQLSERVER, TERADATA
. Use ListDataSources to return a list of all data sources.DataSourceTypepublic CreateDataSourceRequest withType(String type)
The type of the data source. Currently the supported types for this operation are:
ATHENA, AURORA, AURORA_POSTGRESQL, MARIADB, MYSQL, POSTGRESQL, PRESTO, REDSHIFT, S3, SNOWFLAKE, SPARK, SQLSERVER, TERADATA
. Use ListDataSources to return a list of all data sources.
type - The type of the data source. Currently the supported types for this operation are:
ATHENA, AURORA, AURORA_POSTGRESQL, MARIADB, MYSQL, POSTGRESQL, PRESTO, REDSHIFT, S3, SNOWFLAKE, SPARK, SQLSERVER, TERADATA
. Use ListDataSources to return a list of all data sources.DataSourceTypepublic CreateDataSourceRequest withType(DataSourceType type)
The type of the data source. Currently the supported types for this operation are:
ATHENA, AURORA, AURORA_POSTGRESQL, MARIADB, MYSQL, POSTGRESQL, PRESTO, REDSHIFT, S3, SNOWFLAKE, SPARK, SQLSERVER, TERADATA
. Use ListDataSources to return a list of all data sources.
type - The type of the data source. Currently the supported types for this operation are:
ATHENA, AURORA, AURORA_POSTGRESQL, MARIADB, MYSQL, POSTGRESQL, PRESTO, REDSHIFT, S3, SNOWFLAKE, SPARK, SQLSERVER, TERADATA
. Use ListDataSources to return a list of all data sources.DataSourceTypepublic void setDataSourceParameters(DataSourceParameters dataSourceParameters)
The parameters QuickSight uses to connect to your underlying source.
dataSourceParameters - The parameters QuickSight uses to connect to your underlying source.public DataSourceParameters getDataSourceParameters()
The parameters QuickSight uses to connect to your underlying source.
public CreateDataSourceRequest withDataSourceParameters(DataSourceParameters dataSourceParameters)
The parameters QuickSight uses to connect to your underlying source.
dataSourceParameters - The parameters QuickSight uses to connect to your underlying source.public void setCredentials(DataSourceCredentials credentials)
The credentials QuickSight uses to connect to your underlying source. Currently only username/password based credentials are supported.
credentials - The credentials QuickSight uses to connect to your underlying source. Currently only username/password
based credentials are supported.public DataSourceCredentials getCredentials()
The credentials QuickSight uses to connect to your underlying source. Currently only username/password based credentials are supported.
public CreateDataSourceRequest withCredentials(DataSourceCredentials credentials)
The credentials QuickSight uses to connect to your underlying source. Currently only username/password based credentials are supported.
credentials - The credentials QuickSight uses to connect to your underlying source. Currently only username/password
based credentials 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)
You need to use this parameter only when you want QuickSight to use a VPC connection when connecting to your underlying source.
vpcConnectionProperties - You need to use this parameter only when you want QuickSight to use a VPC connection when connecting to
your underlying source.public VpcConnectionProperties getVpcConnectionProperties()
You need to use this parameter only when you want QuickSight to use a VPC connection when connecting to your underlying source.
public CreateDataSourceRequest withVpcConnectionProperties(VpcConnectionProperties vpcConnectionProperties)
You need to use this parameter only when you want QuickSight to use a VPC connection when connecting to your underlying source.
vpcConnectionProperties - You need to use this parameter only when you want QuickSight to use a VPC connection when connecting to
your underlying source.public void setSslProperties(SslProperties sslProperties)
SSL properties that apply when QuickSight connects to your underlying source.
sslProperties - SSL properties that apply when QuickSight connects to your underlying source.public SslProperties getSslProperties()
SSL properties that apply when QuickSight connects to your underlying source.
public CreateDataSourceRequest withSslProperties(SslProperties sslProperties)
SSL properties that apply when QuickSight connects to your underlying source.
sslProperties - SSL properties that apply when 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 String toString()
toString in class ObjectObject.toString()public CreateDataSourceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.