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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BasicAuthenticationProperties.Builderpassword(Consumer<ConnectorProperty.Builder> password)The password property name to use for Basic authentication credentials.BasicAuthenticationProperties.Builderpassword(ConnectorProperty password)The password property name to use for Basic authentication credentials.default BasicAuthenticationProperties.Builderusername(Consumer<ConnectorProperty.Builder> username)The username property name to use for Basic authentication credentials.BasicAuthenticationProperties.Builderusername(ConnectorProperty username)The username property name to use for Basic authentication credentials.-
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
-
username
BasicAuthenticationProperties.Builder username(ConnectorProperty 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:
username(ConnectorProperty)
-
password
BasicAuthenticationProperties.Builder password(ConnectorProperty 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:
password(ConnectorProperty)
-
-