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 interface
DataSourceCredentials.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
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
CopySourceArn
is not null, the credential pair from the data source in the ARN is used as the credentials for theDataSourceCredentials
structure.- Returns:
- 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 theDataSourceCredentials
structure.
-
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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-