@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetBundleImportJobDataSourceCredentials extends Object implements Serializable, Cloneable, StructuredPojo
The login credentials to use to import a data source resource.
Constructor and Description |
---|
AssetBundleImportJobDataSourceCredentials() |
Modifier and Type | Method and Description |
---|---|
AssetBundleImportJobDataSourceCredentials |
clone() |
boolean |
equals(Object obj) |
AssetBundleImportJobDataSourceCredentialPair |
getCredentialPair()
A username and password credential pair to be used to create the imported data source.
|
String |
getSecretArn()
The ARN of the Secrets Manager secret that's used to create the imported data source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCredentialPair(AssetBundleImportJobDataSourceCredentialPair credentialPair)
A username and password credential pair to be used to create the imported data source.
|
void |
setSecretArn(String secretArn)
The ARN of the Secrets Manager secret that's used to create the imported data source.
|
String |
toString()
Returns a string representation of this object.
|
AssetBundleImportJobDataSourceCredentials |
withCredentialPair(AssetBundleImportJobDataSourceCredentialPair credentialPair)
A username and password credential pair to be used to create the imported data source.
|
AssetBundleImportJobDataSourceCredentials |
withSecretArn(String secretArn)
The ARN of the Secrets Manager secret that's used to create the imported data source.
|
public AssetBundleImportJobDataSourceCredentials()
public void setCredentialPair(AssetBundleImportJobDataSourceCredentialPair credentialPair)
A username and password credential pair to be used to create the imported data source. Keep this field blank if you are using a Secrets Manager secret to provide credentials.
credentialPair
- A username and password credential pair to be used to create the imported data source. Keep this field
blank if you are using a Secrets Manager secret to provide credentials.public AssetBundleImportJobDataSourceCredentialPair getCredentialPair()
A username and password credential pair to be used to create the imported data source. Keep this field blank if you are using a Secrets Manager secret to provide credentials.
public AssetBundleImportJobDataSourceCredentials withCredentialPair(AssetBundleImportJobDataSourceCredentialPair credentialPair)
A username and password credential pair to be used to create the imported data source. Keep this field blank if you are using a Secrets Manager secret to provide credentials.
credentialPair
- A username and password credential pair to be used to create the imported data source. Keep this field
blank if you are using a Secrets Manager secret to provide credentials.public void setSecretArn(String secretArn)
The ARN of the Secrets Manager secret that's used to create the imported data source. Keep this field blank, unless you are using a secret in place of a credential pair.
secretArn
- The ARN of the Secrets Manager secret that's used to create the imported data source. Keep this field
blank, unless you are using a secret in place of a credential pair.public String getSecretArn()
The ARN of the Secrets Manager secret that's used to create the imported data source. Keep this field blank, unless you are using a secret in place of a credential pair.
public AssetBundleImportJobDataSourceCredentials withSecretArn(String secretArn)
The ARN of the Secrets Manager secret that's used to create the imported data source. Keep this field blank, unless you are using a secret in place of a credential pair.
secretArn
- The ARN of the Secrets Manager secret that's used to create the imported data source. Keep this field
blank, unless you are using a secret in place of a credential pair.public String toString()
toString
in class Object
Object.toString()
public AssetBundleImportJobDataSourceCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.