@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) |
List<DataSourceParameters> |
getAlternateDataSourceParameters()
A set of alternate data source parameters that you want to share for the credentials stored with this data
source.
|
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.
|
String |
getSecretArn()
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
|
SslProperties |
getSslProperties()
Secure Socket Layer (SSL) properties that apply when Amazon 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 |
setAlternateDataSourceParameters(Collection<DataSourceParameters> alternateDataSourceParameters)
A set of alternate data source parameters that you want to share for the credentials stored with this data
source.
|
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 |
setSecretArn(String secretArn)
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
|
void |
setSslProperties(SslProperties sslProperties)
Secure Socket Layer (SSL) properties that apply when Amazon 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 |
withAlternateDataSourceParameters(Collection<DataSourceParameters> alternateDataSourceParameters)
A set of alternate data source parameters that you want to share for the credentials stored with this data
source.
|
DataSource |
withAlternateDataSourceParameters(DataSourceParameters... alternateDataSourceParameters)
A set of alternate data source parameters that you want to share for the credentials stored with this data
source.
|
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 |
withSecretArn(String secretArn)
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
|
DataSource |
withSslProperties(SslProperties sslProperties)
Secure Socket Layer (SSL) properties that apply when Amazon 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 Amazon Web Services Region for each Amazon Web Services account.
dataSourceId
- The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services
account.public String getDataSourceId()
The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
public DataSource withDataSourceId(String dataSourceId)
The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
dataSourceId
- The ID of 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 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 List<DataSourceParameters> getAlternateDataSourceParameters()
A set of alternate data source parameters that you want to share for the credentials stored with this data
source. The credentials are applied in tandem with the data source parameters when you copy a data source by
using a create or update request. The API operation compares the DataSourceParameters
structure
that's in the request with the structures in the AlternateDataSourceParameters
allow list. If the
structures are an exact match, the request is allowed to use the credentials from this existing data source. If
the AlternateDataSourceParameters
list is null, the Credentials
originally used with
this DataSourceParameters
are automatically allowed.
DataSourceParameters
structure that's in the request with the structures in the
AlternateDataSourceParameters
allow list. If the structures are an exact match, the request
is allowed to use the credentials from this existing data source. If the
AlternateDataSourceParameters
list is null, the Credentials
originally used
with this DataSourceParameters
are automatically allowed.public void setAlternateDataSourceParameters(Collection<DataSourceParameters> alternateDataSourceParameters)
A set of alternate data source parameters that you want to share for the credentials stored with this data
source. The credentials are applied in tandem with the data source parameters when you copy a data source by
using a create or update request. The API operation compares the DataSourceParameters
structure
that's in the request with the structures in the AlternateDataSourceParameters
allow list. If the
structures are an exact match, the request is allowed to use the credentials from this existing data source. If
the AlternateDataSourceParameters
list is null, the Credentials
originally used with
this DataSourceParameters
are automatically allowed.
alternateDataSourceParameters
- A set of alternate data source parameters that you want to share for the credentials stored with this data
source. The credentials are applied in tandem with the data source parameters when you copy a data source
by using a create or update request. The API operation compares the DataSourceParameters
structure that's in the request with the structures in the AlternateDataSourceParameters
allow list. If the structures are an exact match, the request is allowed to use the credentials from this
existing data source. If the AlternateDataSourceParameters
list is null, the
Credentials
originally used with this DataSourceParameters
are automatically
allowed.public DataSource withAlternateDataSourceParameters(DataSourceParameters... alternateDataSourceParameters)
A set of alternate data source parameters that you want to share for the credentials stored with this data
source. The credentials are applied in tandem with the data source parameters when you copy a data source by
using a create or update request. The API operation compares the DataSourceParameters
structure
that's in the request with the structures in the AlternateDataSourceParameters
allow list. If the
structures are an exact match, the request is allowed to use the credentials from this existing data source. If
the AlternateDataSourceParameters
list is null, the Credentials
originally used with
this DataSourceParameters
are automatically allowed.
NOTE: This method appends the values to the existing list (if any). Use
setAlternateDataSourceParameters(java.util.Collection)
or
withAlternateDataSourceParameters(java.util.Collection)
if you want to override the existing values.
alternateDataSourceParameters
- A set of alternate data source parameters that you want to share for the credentials stored with this data
source. The credentials are applied in tandem with the data source parameters when you copy a data source
by using a create or update request. The API operation compares the DataSourceParameters
structure that's in the request with the structures in the AlternateDataSourceParameters
allow list. If the structures are an exact match, the request is allowed to use the credentials from this
existing data source. If the AlternateDataSourceParameters
list is null, the
Credentials
originally used with this DataSourceParameters
are automatically
allowed.public DataSource withAlternateDataSourceParameters(Collection<DataSourceParameters> alternateDataSourceParameters)
A set of alternate data source parameters that you want to share for the credentials stored with this data
source. The credentials are applied in tandem with the data source parameters when you copy a data source by
using a create or update request. The API operation compares the DataSourceParameters
structure
that's in the request with the structures in the AlternateDataSourceParameters
allow list. If the
structures are an exact match, the request is allowed to use the credentials from this existing data source. If
the AlternateDataSourceParameters
list is null, the Credentials
originally used with
this DataSourceParameters
are automatically allowed.
alternateDataSourceParameters
- A set of alternate data source parameters that you want to share for the credentials stored with this data
source. The credentials are applied in tandem with the data source parameters when you copy a data source
by using a create or update request. The API operation compares the DataSourceParameters
structure that's in the request with the structures in the AlternateDataSourceParameters
allow list. If the structures are an exact match, the request is allowed to use the credentials from this
existing data source. If the AlternateDataSourceParameters
list is null, the
Credentials
originally used with this DataSourceParameters
are automatically
allowed.public void setVpcConnectionProperties(VpcConnectionProperties vpcConnectionProperties)
The VPC connection information. You need to use this parameter only when you want Amazon 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 Amazon 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 Amazon 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 Amazon 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 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 DataSource 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 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 void setSecretArn(String secretArn)
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
secretArn
- The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.public String getSecretArn()
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
public DataSource withSecretArn(String secretArn)
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
secretArn
- The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.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.