@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataProvider extends Object implements Serializable, Cloneable, StructuredPojo
Provides information that defines a data provider.
Constructor and Description |
---|
DataProvider() |
Modifier and Type | Method and Description |
---|---|
DataProvider |
clone() |
boolean |
equals(Object obj) |
String |
getDataProviderArn()
The Amazon Resource Name (ARN) string that uniquely identifies the data provider.
|
Date |
getDataProviderCreationTime()
The time the data provider was created.
|
String |
getDataProviderName()
The name of the data provider.
|
String |
getDescription()
A description of the data provider.
|
String |
getEngine()
The type of database engine for the data provider.
|
DataProviderSettings |
getSettings()
The settings in JSON format for a data provider.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataProviderArn(String dataProviderArn)
The Amazon Resource Name (ARN) string that uniquely identifies the data provider.
|
void |
setDataProviderCreationTime(Date dataProviderCreationTime)
The time the data provider was created.
|
void |
setDataProviderName(String dataProviderName)
The name of the data provider.
|
void |
setDescription(String description)
A description of the data provider.
|
void |
setEngine(String engine)
The type of database engine for the data provider.
|
void |
setSettings(DataProviderSettings settings)
The settings in JSON format for a data provider.
|
String |
toString()
Returns a string representation of this object.
|
DataProvider |
withDataProviderArn(String dataProviderArn)
The Amazon Resource Name (ARN) string that uniquely identifies the data provider.
|
DataProvider |
withDataProviderCreationTime(Date dataProviderCreationTime)
The time the data provider was created.
|
DataProvider |
withDataProviderName(String dataProviderName)
The name of the data provider.
|
DataProvider |
withDescription(String description)
A description of the data provider.
|
DataProvider |
withEngine(String engine)
The type of database engine for the data provider.
|
DataProvider |
withSettings(DataProviderSettings settings)
The settings in JSON format for a data provider.
|
public void setDataProviderName(String dataProviderName)
The name of the data provider.
dataProviderName
- The name of the data provider.public String getDataProviderName()
The name of the data provider.
public DataProvider withDataProviderName(String dataProviderName)
The name of the data provider.
dataProviderName
- The name of the data provider.public void setDataProviderArn(String dataProviderArn)
The Amazon Resource Name (ARN) string that uniquely identifies the data provider.
dataProviderArn
- The Amazon Resource Name (ARN) string that uniquely identifies the data provider.public String getDataProviderArn()
The Amazon Resource Name (ARN) string that uniquely identifies the data provider.
public DataProvider withDataProviderArn(String dataProviderArn)
The Amazon Resource Name (ARN) string that uniquely identifies the data provider.
dataProviderArn
- The Amazon Resource Name (ARN) string that uniquely identifies the data provider.public void setDataProviderCreationTime(Date dataProviderCreationTime)
The time the data provider was created.
dataProviderCreationTime
- The time the data provider was created.public Date getDataProviderCreationTime()
The time the data provider was created.
public DataProvider withDataProviderCreationTime(Date dataProviderCreationTime)
The time the data provider was created.
dataProviderCreationTime
- The time the data provider was created.public void setDescription(String description)
A description of the data provider. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.
description
- A description of the data provider. Descriptions can have up to 31 characters. A description can contain
only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive
hyphens, and can only begin with a letter.public String getDescription()
A description of the data provider. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.
public DataProvider withDescription(String description)
A description of the data provider. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.
description
- A description of the data provider. Descriptions can have up to 31 characters. A description can contain
only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive
hyphens, and can only begin with a letter.public void setEngine(String engine)
The type of database engine for the data provider. Valid values include "aurora"
,
"aurora-postgresql"
, "mysql"
, "oracle"
, "postgres"
,
"sqlserver"
, redshift
, mariadb
, mongodb
, and
docdb
. A value of "aurora"
represents Amazon Aurora MySQL-Compatible Edition.
engine
- The type of database engine for the data provider. Valid values include "aurora"
,
"aurora-postgresql"
, "mysql"
, "oracle"
, "postgres"
,
"sqlserver"
, redshift
, mariadb
, mongodb
, and
docdb
. A value of "aurora"
represents Amazon Aurora MySQL-Compatible Edition.public String getEngine()
The type of database engine for the data provider. Valid values include "aurora"
,
"aurora-postgresql"
, "mysql"
, "oracle"
, "postgres"
,
"sqlserver"
, redshift
, mariadb
, mongodb
, and
docdb
. A value of "aurora"
represents Amazon Aurora MySQL-Compatible Edition.
"aurora"
,
"aurora-postgresql"
, "mysql"
, "oracle"
, "postgres"
,
"sqlserver"
, redshift
, mariadb
, mongodb
, and
docdb
. A value of "aurora"
represents Amazon Aurora MySQL-Compatible Edition.public DataProvider withEngine(String engine)
The type of database engine for the data provider. Valid values include "aurora"
,
"aurora-postgresql"
, "mysql"
, "oracle"
, "postgres"
,
"sqlserver"
, redshift
, mariadb
, mongodb
, and
docdb
. A value of "aurora"
represents Amazon Aurora MySQL-Compatible Edition.
engine
- The type of database engine for the data provider. Valid values include "aurora"
,
"aurora-postgresql"
, "mysql"
, "oracle"
, "postgres"
,
"sqlserver"
, redshift
, mariadb
, mongodb
, and
docdb
. A value of "aurora"
represents Amazon Aurora MySQL-Compatible Edition.public void setSettings(DataProviderSettings settings)
The settings in JSON format for a data provider.
settings
- The settings in JSON format for a data provider.public DataProviderSettings getSettings()
The settings in JSON format for a data provider.
public DataProvider withSettings(DataProviderSettings settings)
The settings in JSON format for a data provider.
settings
- The settings in JSON format for a data provider.public String toString()
toString
in class Object
Object.toString()
public DataProvider clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.