Class DataSourceCredentials
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.DataSourceCredentials
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataSourceCredentials.Builder,DataSourceCredentials>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataSourceCredentials.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataSourceCredentials.Builderbuilder()StringcopySourceArn()The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use.CredentialPaircredentialPair()Credential pair.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()StringsecretArn()The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.static Class<? extends DataSourceCredentials.Builder>serializableBuilderClass()DataSourceCredentials.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
credentialPair
public final CredentialPair credentialPair()
Credential pair. For more information, see
CredentialPair.- Returns:
- Credential pair. For more information, see
CredentialPair.
-
copySourceArn
public final String copySourceArn()
The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When
CopySourceArnis not null, the credential pair from the data source in the ARN is used as the credentials for theDataSourceCredentialsstructure.- Returns:
- The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When
CopySourceArnis not null, the credential pair from the data source in the ARN is used as the credentials for theDataSourceCredentialsstructure.
-
secretArn
public final String secretArn()
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
- Returns:
- The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
-
toBuilder
public DataSourceCredentials.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataSourceCredentials.Builder,DataSourceCredentials>
-
builder
public static DataSourceCredentials.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataSourceCredentials.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-