@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSource extends Object implements Serializable, Cloneable, StructuredPojo
The structure of a data source.
Constructor and Description |
---|
DataSource() |
Modifier and Type | Method and Description |
---|---|
DataSource |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the data source.
|
Date |
getCreatedTime()
The time that this data source was created.
|
String |
getDataSourceId()
The ID of the data source.
|
DataSourceParameters |
getDataSourceParameters()
The parameters that Amazon QuickSight uses to connect to your underlying source.
|
DataSourceErrorInfo |
getErrorInfo()
Error information from the last update or the creation of the data source.
|
Date |
getLastUpdatedTime()
The last time that this data source was updated.
|
String |
getName()
A display name for the data source.
|
SslProperties |
getSslProperties()
Secure Socket Layer (SSL) properties that apply when QuickSight connects to your underlying source.
|
String |
getStatus()
The HTTP status of the request.
|
String |
getType()
The type of the data source.
|
VpcConnectionProperties |
getVpcConnectionProperties()
The VPC connection information.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the data source.
|
void |
setCreatedTime(Date createdTime)
The time that this data source was created.
|
void |
setDataSourceId(String dataSourceId)
The ID of the data source.
|
void |
setDataSourceParameters(DataSourceParameters dataSourceParameters)
The parameters that Amazon QuickSight uses to connect to your underlying source.
|
void |
setErrorInfo(DataSourceErrorInfo errorInfo)
Error information from the last update or the creation of the data source.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The last time that this data source was updated.
|
void |
setName(String name)
A display name for the data source.
|
void |
setSslProperties(SslProperties sslProperties)
Secure Socket Layer (SSL) properties that apply when QuickSight connects to your underlying source.
|
void |
setStatus(String status)
The HTTP status of the request.
|
void |
setType(String type)
The type of the data source.
|
void |
setVpcConnectionProperties(VpcConnectionProperties vpcConnectionProperties)
The VPC connection information.
|
String |
toString()
Returns a string representation of this object.
|
DataSource |
withArn(String arn)
The Amazon Resource Name (ARN) of the data source.
|
DataSource |
withCreatedTime(Date createdTime)
The time that this data source was created.
|
DataSource |
withDataSourceId(String dataSourceId)
The ID of the data source.
|
DataSource |
withDataSourceParameters(DataSourceParameters dataSourceParameters)
The parameters that Amazon QuickSight uses to connect to your underlying source.
|
DataSource |
withErrorInfo(DataSourceErrorInfo errorInfo)
Error information from the last update or the creation of the data source.
|
DataSource |
withLastUpdatedTime(Date lastUpdatedTime)
The last time that this data source was updated.
|
DataSource |
withName(String name)
A display name for the data source.
|
DataSource |
withSslProperties(SslProperties sslProperties)
Secure Socket Layer (SSL) properties that apply when QuickSight connects to your underlying source.
|
DataSource |
withStatus(ResourceStatus status)
The HTTP status of the request.
|
DataSource |
withStatus(String status)
The HTTP status of the request.
|
DataSource |
withType(DataSourceType type)
The type of the data source.
|
DataSource |
withType(String type)
The type of the data source.
|
DataSource |
withVpcConnectionProperties(VpcConnectionProperties vpcConnectionProperties)
The VPC connection information.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the data source.
arn
- The Amazon Resource Name (ARN) of the data source.public String getArn()
The Amazon Resource Name (ARN) of the data source.
public DataSource withArn(String arn)
The Amazon Resource Name (ARN) of the data source.
arn
- The Amazon Resource Name (ARN) of the data source.public void setDataSourceId(String dataSourceId)
The ID of the data source. This ID is unique per AWS Region for each AWS account.
dataSourceId
- The ID of the data source. This ID is unique per AWS Region for each AWS account.public String getDataSourceId()
The ID of the data source. This ID is unique per AWS Region for each AWS account.
public DataSource withDataSourceId(String dataSourceId)
The ID of the data source. This ID is unique per AWS Region for each AWS account.
dataSourceId
- The ID of 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 DataSource 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. This type indicates which database engine the data source connects to.
type
- The type of the data source. This type indicates which database engine the data source connects to.DataSourceType
public String getType()
The type of the data source. This type indicates which database engine the data source connects to.
DataSourceType
public DataSource withType(String type)
The type of the data source. This type indicates which database engine the data source connects to.
type
- The type of the data source. This type indicates which database engine the data source connects to.DataSourceType
public DataSource withType(DataSourceType type)
The type of the data source. This type indicates which database engine the data source connects to.
type
- The type of the data source. This type indicates which database engine the data source connects to.DataSourceType
public void setStatus(String status)
The HTTP status of the request.
status
- The HTTP status of the request.ResourceStatus
public String getStatus()
The HTTP status of the request.
ResourceStatus
public DataSource withStatus(String status)
The HTTP status of the request.
status
- The HTTP status of the request.ResourceStatus
public DataSource withStatus(ResourceStatus status)
The HTTP status of the request.
status
- The HTTP status of the request.ResourceStatus
public void setCreatedTime(Date createdTime)
The time that this data source was created.
createdTime
- The time that this data source was created.public Date getCreatedTime()
The time that this data source was created.
public DataSource withCreatedTime(Date createdTime)
The time that this data source was created.
createdTime
- The time that this data source was created.public void setLastUpdatedTime(Date lastUpdatedTime)
The last time that this data source was updated.
lastUpdatedTime
- The last time that this data source was updated.public Date getLastUpdatedTime()
The last time that this data source was updated.
public DataSource withLastUpdatedTime(Date lastUpdatedTime)
The last time that this data source was updated.
lastUpdatedTime
- The last time that this data source was updated.public void setDataSourceParameters(DataSourceParameters dataSourceParameters)
The parameters that Amazon QuickSight uses to connect to your underlying source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
dataSourceParameters
- The parameters that Amazon QuickSight uses to connect to your underlying source. This is a variant type
structure. For this structure to be valid, only one of the attributes can be non-null.public DataSourceParameters getDataSourceParameters()
The parameters that Amazon QuickSight uses to connect to your underlying source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
public DataSource withDataSourceParameters(DataSourceParameters dataSourceParameters)
The parameters that Amazon QuickSight uses to connect to your underlying source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
dataSourceParameters
- The parameters that Amazon QuickSight uses to connect to your underlying source. This is a variant type
structure. For this structure to be valid, only one of the attributes can be non-null.public void setVpcConnectionProperties(VpcConnectionProperties vpcConnectionProperties)
The VPC connection information. You need to use this parameter only when you want QuickSight to use a VPC connection when connecting to your underlying source.
vpcConnectionProperties
- The VPC connection information. 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()
The VPC connection information. You need to use this parameter only when you want QuickSight to use a VPC connection when connecting to your underlying source.
public DataSource withVpcConnectionProperties(VpcConnectionProperties vpcConnectionProperties)
The VPC connection information. You need to use this parameter only when you want QuickSight to use a VPC connection when connecting to your underlying source.
vpcConnectionProperties
- The VPC connection information. 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)
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 DataSource 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 void setErrorInfo(DataSourceErrorInfo errorInfo)
Error information from the last update or the creation of the data source.
errorInfo
- Error information from the last update or the creation of the data source.public DataSourceErrorInfo getErrorInfo()
Error information from the last update or the creation of the data source.
public DataSource withErrorInfo(DataSourceErrorInfo errorInfo)
Error information from the last update or the creation of the data source.
errorInfo
- Error information from the last update or the creation of the data source.public String toString()
toString
in class Object
Object.toString()
public DataSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.