@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 this was created.
|
String |
getDataSourceId()
The ID of the data source.
|
DataSourceParameters |
getDataSourceParameters()
The parameters 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 this was updated.
|
String |
getName()
A display name for the data source.
|
SslProperties |
getSslProperties()
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 this was created.
|
void |
setDataSourceId(String dataSourceId)
The ID of the data source.
|
void |
setDataSourceParameters(DataSourceParameters dataSourceParameters)
The parameters 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 this was updated.
|
void |
setName(String name)
A display name for the data source.
|
void |
setSslProperties(SslProperties sslProperties)
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 this was created.
|
DataSource |
withDataSourceId(String dataSourceId)
The ID of the data source.
|
DataSource |
withDataSourceParameters(DataSourceParameters dataSourceParameters)
The parameters 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 this was updated.
|
DataSource |
withName(String name)
A display name for the data source.
|
DataSource |
withSslProperties(SslProperties sslProperties)
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 is unique per AWS Region per AWS account.
dataSourceId - The ID of the data source. This is unique per AWS Region per AWS account.public String getDataSourceId()
The ID of the data source. This is unique per AWS Region per AWS account.
public DataSource withDataSourceId(String dataSourceId)
The ID of the data source. This is unique per AWS Region per AWS account.
dataSourceId - The ID of 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 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 indicates which database engine the data source connects to.
type - The type of the data source. This indicates which database engine the data source connects to.DataSourceTypepublic String getType()
The type of the data source. This indicates which database engine the data source connects to.
DataSourceTypepublic DataSource withType(String type)
The type of the data source. This indicates which database engine the data source connects to.
type - The type of the data source. This indicates which database engine the data source connects to.DataSourceTypepublic DataSource withType(DataSourceType type)
The type of the data source. This indicates which database engine the data source connects to.
type - The type of the data source. This indicates which database engine the data source connects to.DataSourceTypepublic void setStatus(String status)
The http status of the request.
status - The http status of the request.ResourceStatuspublic String getStatus()
The http status of the request.
ResourceStatuspublic DataSource withStatus(String status)
The http status of the request.
status - The http status of the request.ResourceStatuspublic DataSource withStatus(ResourceStatus status)
The http status of the request.
status - The http status of the request.ResourceStatuspublic void setCreatedTime(Date createdTime)
The time this was created.
createdTime - The time this was created.public Date getCreatedTime()
The time this was created.
public DataSource withCreatedTime(Date createdTime)
The time this was created.
createdTime - The time this was created.public void setLastUpdatedTime(Date lastUpdatedTime)
The last time this was updated.
lastUpdatedTime - The last time this was updated.public Date getLastUpdatedTime()
The last time this was updated.
public DataSource withLastUpdatedTime(Date lastUpdatedTime)
The last time this was updated.
lastUpdatedTime - The last time this was updated.public void setDataSourceParameters(DataSourceParameters dataSourceParameters)
The parameters QuickSight uses to connect to your underlying source. This is a variant type structure. At most one of the attributes should be non-null for this structure to be valid.
dataSourceParameters - The parameters QuickSight uses to connect to your underlying source. This is a variant type structure. At
most one of the attributes should be non-null for this structure to be valid.public DataSourceParameters getDataSourceParameters()
The parameters QuickSight uses to connect to your underlying source. This is a variant type structure. At most one of the attributes should be non-null for this structure to be valid.
public DataSource withDataSourceParameters(DataSourceParameters dataSourceParameters)
The parameters QuickSight uses to connect to your underlying source. This is a variant type structure. At most one of the attributes should be non-null for this structure to be valid.
dataSourceParameters - The parameters QuickSight uses to connect to your underlying source. This is a variant type structure. At
most one of the attributes should be non-null for this structure to be valid.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)
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 DataSource 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 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 ObjectObject.toString()public DataSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.