@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RdsDataApiConfig extends Object implements Serializable, Cloneable, StructuredPojo
Contains the metadata required to introspect the RDS cluster.
Constructor and Description |
---|
RdsDataApiConfig() |
Modifier and Type | Method and Description |
---|---|
RdsDataApiConfig |
clone() |
boolean |
equals(Object obj) |
String |
getDatabaseName()
The name of the database in the cluster.
|
String |
getResourceArn()
The resource ARN of the RDS cluster.
|
String |
getSecretArn()
The secret's ARN that was obtained from Secrets Manager.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDatabaseName(String databaseName)
The name of the database in the cluster.
|
void |
setResourceArn(String resourceArn)
The resource ARN of the RDS cluster.
|
void |
setSecretArn(String secretArn)
The secret's ARN that was obtained from Secrets Manager.
|
String |
toString()
Returns a string representation of this object.
|
RdsDataApiConfig |
withDatabaseName(String databaseName)
The name of the database in the cluster.
|
RdsDataApiConfig |
withResourceArn(String resourceArn)
The resource ARN of the RDS cluster.
|
RdsDataApiConfig |
withSecretArn(String secretArn)
The secret's ARN that was obtained from Secrets Manager.
|
public void setResourceArn(String resourceArn)
The resource ARN of the RDS cluster.
resourceArn
- The resource ARN of the RDS cluster.public String getResourceArn()
The resource ARN of the RDS cluster.
public RdsDataApiConfig withResourceArn(String resourceArn)
The resource ARN of the RDS cluster.
resourceArn
- The resource ARN of the RDS cluster.public void setSecretArn(String secretArn)
The secret's ARN that was obtained from Secrets Manager. A secret consists of secret information, the secret value, plus metadata about the secret. A secret value can be a string or binary. It typically includes the ARN, secret name and description, policies, tags, encryption key from the Key Management Service, and key rotation data.
secretArn
- The secret's ARN that was obtained from Secrets Manager. A secret consists of secret information, the
secret value, plus metadata about the secret. A secret value can be a string or binary. It typically
includes the ARN, secret name and description, policies, tags, encryption key from the Key Management
Service, and key rotation data.public String getSecretArn()
The secret's ARN that was obtained from Secrets Manager. A secret consists of secret information, the secret value, plus metadata about the secret. A secret value can be a string or binary. It typically includes the ARN, secret name and description, policies, tags, encryption key from the Key Management Service, and key rotation data.
public RdsDataApiConfig withSecretArn(String secretArn)
The secret's ARN that was obtained from Secrets Manager. A secret consists of secret information, the secret value, plus metadata about the secret. A secret value can be a string or binary. It typically includes the ARN, secret name and description, policies, tags, encryption key from the Key Management Service, and key rotation data.
secretArn
- The secret's ARN that was obtained from Secrets Manager. A secret consists of secret information, the
secret value, plus metadata about the secret. A secret value can be a string or binary. It typically
includes the ARN, secret name and description, policies, tags, encryption key from the Key Management
Service, and key rotation data.public void setDatabaseName(String databaseName)
The name of the database in the cluster.
databaseName
- The name of the database in the cluster.public String getDatabaseName()
The name of the database in the cluster.
public RdsDataApiConfig withDatabaseName(String databaseName)
The name of the database in the cluster.
databaseName
- The name of the database in the cluster.public String toString()
toString
in class Object
Object.toString()
public RdsDataApiConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.