Interface AuthenticationMode.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AuthenticationMode.Builder,AuthenticationMode>
,SdkBuilder<AuthenticationMode.Builder,AuthenticationMode>
,SdkPojo
- Enclosing class:
- AuthenticationMode
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.Builder
passwords(String... passwords)
Specifies the passwords to use for authentication ifType
is set topassword
.AuthenticationMode.Builder
passwords(Collection<String> passwords)
Specifies the passwords to use for authentication ifType
is set topassword
.AuthenticationMode.Builder
type(String type)
Specifies the authentication type.AuthenticationMode.Builder
type(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
Type
is set topassword
.- Parameters:
passwords
- Specifies the passwords to use for authentication ifType
is 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
Type
is set topassword
.- Parameters:
passwords
- Specifies the passwords to use for authentication ifType
is set topassword
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-