Interface AuthenticationMode.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AuthenticationMode.Builder,AuthenticationMode>,SdkBuilder<AuthenticationMode.Builder,AuthenticationMode>,SdkPojo
- Enclosing class:
- AuthenticationMode
@Mutable @NotThreadSafe public static interface AuthenticationMode.Builder extends SdkPojo, CopyableBuilder<AuthenticationMode.Builder,AuthenticationMode>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthenticationMode.Builderpasswords(String... passwords)Specifies the passwords to use for authentication ifTypeis set topassword.AuthenticationMode.Builderpasswords(Collection<String> passwords)Specifies the passwords to use for authentication ifTypeis set topassword.AuthenticationMode.Buildertype(String type)Specifies the authentication type.AuthenticationMode.Buildertype(InputAuthenticationType type)Specifies the authentication type.-
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
-
type
AuthenticationMode.Builder type(String type)
Specifies the authentication type. Possible options are IAM authentication, password and no password.
- Parameters:
type- Specifies the authentication type. Possible options are IAM authentication, password and no password.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InputAuthenticationType,InputAuthenticationType
-
type
AuthenticationMode.Builder type(InputAuthenticationType type)
Specifies the authentication type. Possible options are IAM authentication, password and no password.
- Parameters:
type- Specifies the authentication type. Possible options are IAM authentication, password and no password.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InputAuthenticationType,InputAuthenticationType
-
passwords
AuthenticationMode.Builder passwords(Collection<String> passwords)
Specifies the passwords to use for authentication if
Typeis set topassword.- Parameters:
passwords- Specifies the passwords to use for authentication ifTypeis set topassword.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
passwords
AuthenticationMode.Builder passwords(String... passwords)
Specifies the passwords to use for authentication if
Typeis set topassword.- Parameters:
passwords- Specifies the passwords to use for authentication ifTypeis set topassword.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-