Interface RedshiftCredentials.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RedshiftCredentials.Builder,RedshiftCredentials>,SdkBuilder<RedshiftCredentials.Builder,RedshiftCredentials>,SdkPojo
- Enclosing class:
- RedshiftCredentials
public static interface RedshiftCredentials.Builder extends SdkPojo, CopyableBuilder<RedshiftCredentials.Builder,RedshiftCredentials>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RedshiftCredentials.BuildersecretArn(String secretArn)The secret ARN of the Amazon Redshift credentials of a connection.default RedshiftCredentials.BuilderusernamePassword(Consumer<UsernamePassword.Builder> usernamePassword)The username and password of the Amazon Redshift credentials of a connection.RedshiftCredentials.BuilderusernamePassword(UsernamePassword usernamePassword)The username and password of the Amazon Redshift credentials of a connection.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
secretArn
RedshiftCredentials.Builder secretArn(String secretArn)
The secret ARN of the Amazon Redshift credentials of a connection.
- Parameters:
secretArn- The secret ARN of the Amazon Redshift credentials of a connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usernamePassword
RedshiftCredentials.Builder usernamePassword(UsernamePassword usernamePassword)
The username and password of the Amazon Redshift credentials of a connection.
- Parameters:
usernamePassword- The username and password of the Amazon Redshift credentials of a connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usernamePassword
default RedshiftCredentials.Builder usernamePassword(Consumer<UsernamePassword.Builder> usernamePassword)
The username and password of the Amazon Redshift credentials of a connection.
This is a convenience method that creates an instance of theUsernamePassword.Builderavoiding the need to create one manually viaUsernamePassword.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tousernamePassword(UsernamePassword).- Parameters:
usernamePassword- a consumer that will call methods onUsernamePassword.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
usernamePassword(UsernamePassword)
-
-