@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 that uses to connect to your underlying source.
|
String |
getDataSourceId()
An ID for the data source.
|
DataSourceParameters |
getDataSourceParameters()
The parameters that 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()
Secure Socket Layer (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()
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 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 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)
Secure Socket Layer (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)
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 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 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)
Secure Socket Layer (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)
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, withSdkRequestTimeout
public 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 ID is unique per AWS Region for each AWS account.
dataSourceId
- An ID for the data source. This ID is unique per AWS Region for each AWS account.public String getDataSourceId()
An ID for the data source. This ID is unique per AWS Region for each AWS account.
public CreateDataSourceRequest withDataSourceId(String dataSourceId)
An ID for the data source. This ID is unique per AWS Region for each AWS account.
dataSourceId
- An ID for the data source. This ID is unique per AWS Region for each 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.DataSourceType
public 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.DataSourceType
public 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.DataSourceType
public 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.DataSourceType
public void setDataSourceParameters(DataSourceParameters dataSourceParameters)
The parameters that QuickSight uses to connect to your underlying source.
dataSourceParameters
- The parameters that QuickSight uses to connect to your underlying source.public DataSourceParameters getDataSourceParameters()
The parameters that QuickSight uses to connect to your underlying source.
public CreateDataSourceRequest withDataSourceParameters(DataSourceParameters dataSourceParameters)
The parameters that QuickSight uses to connect to your underlying source.
dataSourceParameters
- The parameters that QuickSight uses to connect to your underlying source.public void setCredentials(DataSourceCredentials credentials)
The credentials QuickSight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.
credentials
- The credentials 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 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 QuickSight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.
credentials
- The credentials 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 QuickSight to use a VPC connection when connecting to your underlying source.
vpcConnectionProperties
- Use this parameter only when you want QuickSight to use a VPC connection when connecting to your
underlying source.public VpcConnectionProperties getVpcConnectionProperties()
Use this parameter only when you want QuickSight to use a VPC connection when connecting to your underlying source.
public CreateDataSourceRequest withVpcConnectionProperties(VpcConnectionProperties vpcConnectionProperties)
Use this parameter only when you want QuickSight to use a VPC connection when connecting to your underlying source.
vpcConnectionProperties
- Use this parameter only when you want 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 QuickSight connects to your underlying source.
sslProperties
- Secure Socket Layer (SSL) properties that apply when QuickSight connects to your underlying source.public SslProperties getSslProperties()
Secure Socket Layer (SSL) properties that apply when QuickSight connects to your underlying source.
public CreateDataSourceRequest withSslProperties(SslProperties sslProperties)
Secure Socket Layer (SSL) properties that apply when QuickSight connects to your underlying source.
sslProperties
- Secure Socket Layer (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 Object
Object.toString()
public CreateDataSourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.