@Generated(value="software.amazon.awssdk:codegen") public final class DataSourceCredentials extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataSourceCredentials.Builder,DataSourceCredentials>
Data source credentials. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DataSourceCredentials.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DataSourceCredentials.Builder |
builder() |
String |
copySourceArn()
The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use.
|
CredentialPair |
credentialPair()
Credential pair.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
String |
secretArn()
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
|
static Class<? extends DataSourceCredentials.Builder> |
serializableBuilderClass() |
DataSourceCredentials.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CredentialPair credentialPair()
Credential pair. For more information, see
CredentialPair
.
CredentialPair
.public final String copySourceArn()
The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When
CopySourceArn is not null, the credential pair from the data source in the ARN is used as the
credentials for the DataSourceCredentials structure.
CopySourceArn is not null, the credential pair from the data source in the ARN is used as
the credentials for the DataSourceCredentials structure.public final String secretArn()
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
public DataSourceCredentials.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DataSourceCredentials.Builder,DataSourceCredentials>public static DataSourceCredentials.Builder builder()
public static Class<? extends DataSourceCredentials.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.