Class RedshiftProvisionedAuthConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagent.model.RedshiftProvisionedAuthConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RedshiftProvisionedAuthConfiguration.Builder,RedshiftProvisionedAuthConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class RedshiftProvisionedAuthConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RedshiftProvisionedAuthConfiguration.Builder,RedshiftProvisionedAuthConfiguration>
Contains configurations for authentication to an Amazon Redshift provisioned data warehouse. Specify the type of authentication to use in the
typefield and include the corresponding field. If you specify IAM authentication, you don't need to include another field.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRedshiftProvisionedAuthConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RedshiftProvisionedAuthConfiguration.Builderbuilder()StringdatabaseUser()The database username for authentication to an Amazon Redshift provisioned data warehouse.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RedshiftProvisionedAuthConfiguration.Builder>serializableBuilderClass()RedshiftProvisionedAuthConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.RedshiftProvisionedAuthTypetype()The type of authentication to use.StringtypeAsString()The type of authentication to use.StringusernamePasswordSecretArn()The ARN of an Secrets Manager secret for authentication.-
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
-
type
public final RedshiftProvisionedAuthType type()
The type of authentication to use.
If the service returns an enum value that is not available in the current SDK version,
typewill returnRedshiftProvisionedAuthType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of authentication to use.
- See Also:
RedshiftProvisionedAuthType
-
typeAsString
public final String typeAsString()
The type of authentication to use.
If the service returns an enum value that is not available in the current SDK version,
typewill returnRedshiftProvisionedAuthType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of authentication to use.
- See Also:
RedshiftProvisionedAuthType
-
databaseUser
public final String databaseUser()
The database username for authentication to an Amazon Redshift provisioned data warehouse.
- Returns:
- The database username for authentication to an Amazon Redshift provisioned data warehouse.
-
usernamePasswordSecretArn
public final String usernamePasswordSecretArn()
The ARN of an Secrets Manager secret for authentication.
- Returns:
- The ARN of an Secrets Manager secret for authentication.
-
toBuilder
public RedshiftProvisionedAuthConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RedshiftProvisionedAuthConfiguration.Builder,RedshiftProvisionedAuthConfiguration>
-
builder
public static RedshiftProvisionedAuthConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends RedshiftProvisionedAuthConfiguration.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-