public static interface GetFederationTokenResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<GetFederationTokenResponse.Builder,GetFederationTokenResponse>
Modifier and Type | Method and Description |
---|---|
default GetFederationTokenResponse.Builder |
credentials(Consumer<Credentials.Builder> credentials)
The credentials to use for federation.
|
GetFederationTokenResponse.Builder |
credentials(Credentials credentials)
The credentials to use for federation.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetFederationTokenResponse.Builder credentials(Credentials credentials)
The credentials to use for federation.
credentials
- The credentials to use for federation.default GetFederationTokenResponse.Builder credentials(Consumer<Credentials.Builder> credentials)
The credentials to use for federation.
This is a convenience that creates an instance of theCredentials.Builder
avoiding the need to create
one manually via Credentials.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to credentials(Credentials)
.credentials
- a consumer that will call methods on Credentials.Builder
credentials(Credentials)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.