Interface BasicAuthenticationProperties.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BasicAuthenticationProperties.Builder,,BasicAuthenticationProperties> SdkBuilder<BasicAuthenticationProperties.Builder,,BasicAuthenticationProperties> SdkPojo
- Enclosing class:
BasicAuthenticationProperties
@Mutable
@NotThreadSafe
public static interface BasicAuthenticationProperties.Builder
extends SdkPojo, CopyableBuilder<BasicAuthenticationProperties.Builder,BasicAuthenticationProperties>
-
Method Summary
Modifier and TypeMethodDescriptionpassword(Consumer<ConnectorProperty.Builder> password) The password property name to use for Basic authentication credentials.password(ConnectorProperty password) The password property name to use for Basic authentication credentials.username(Consumer<ConnectorProperty.Builder> username) The username property name to use for Basic authentication credentials.username(ConnectorProperty username) The username property name to use for Basic authentication credentials.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
username
The username property name to use for Basic authentication credentials.
- Parameters:
username- The username property name to use for Basic authentication credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
username
default BasicAuthenticationProperties.Builder username(Consumer<ConnectorProperty.Builder> username) The username property name to use for Basic authentication credentials.
This is a convenience method that creates an instance of theConnectorProperty.Builderavoiding the need to create one manually viaConnectorProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tousername(ConnectorProperty).- Parameters:
username- a consumer that will call methods onConnectorProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
password
The password property name to use for Basic authentication credentials.
- Parameters:
password- The password property name to use for Basic authentication credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
password
default BasicAuthenticationProperties.Builder password(Consumer<ConnectorProperty.Builder> password) The password property name to use for Basic authentication credentials.
This is a convenience method that creates an instance of theConnectorProperty.Builderavoiding the need to create one manually viaConnectorProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topassword(ConnectorProperty).- Parameters:
password- a consumer that will call methods onConnectorProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-