Interface GetApplicationAuthenticationMethodResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetApplicationAuthenticationMethodResponse.Builder,
,GetApplicationAuthenticationMethodResponse> SdkBuilder<GetApplicationAuthenticationMethodResponse.Builder,
,GetApplicationAuthenticationMethodResponse> SdkPojo
,SdkResponse.Builder
,SsoAdminResponse.Builder
- Enclosing class:
GetApplicationAuthenticationMethodResponse
public static interface GetApplicationAuthenticationMethodResponse.Builder
extends SsoAdminResponse.Builder, SdkPojo, CopyableBuilder<GetApplicationAuthenticationMethodResponse.Builder,GetApplicationAuthenticationMethodResponse>
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationMethod
(Consumer<AuthenticationMethod.Builder> authenticationMethod) A structure that contains details about the requested authentication method.authenticationMethod
(AuthenticationMethod authenticationMethod) A structure that contains details about the requested authentication method.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.ssoadmin.model.SsoAdminResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
authenticationMethod
GetApplicationAuthenticationMethodResponse.Builder authenticationMethod(AuthenticationMethod authenticationMethod) A structure that contains details about the requested authentication method.
- Parameters:
authenticationMethod
- A structure that contains details about the requested authentication method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationMethod
default GetApplicationAuthenticationMethodResponse.Builder authenticationMethod(Consumer<AuthenticationMethod.Builder> authenticationMethod) A structure that contains details about the requested authentication method.
This is a convenience method that creates an instance of theAuthenticationMethod.Builder
avoiding the need to create one manually viaAuthenticationMethod.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthenticationMethod(AuthenticationMethod)
.- Parameters:
authenticationMethod
- a consumer that will call methods onAuthenticationMethod.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-