Interface GetFederationTokenResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<GetFederationTokenResponse.Builder,
,GetFederationTokenResponse> SdkBuilder<GetFederationTokenResponse.Builder,
,GetFederationTokenResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetFederationTokenResponse
public static interface GetFederationTokenResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<GetFederationTokenResponse.Builder,GetFederationTokenResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncredentials
(Consumer<Credentials.Builder> credentials) The credentials to use for federation.credentials
(Credentials credentials) The credentials to use for federation.The URL to sign into the user's instance.The Amazon Resource Name (ARN) of the user.The identifier for the user.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
credentials
The credentials to use for federation.
- Parameters:
credentials
- The credentials to use for federation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
The credentials to use for federation.
This is a convenience method that creates an instance of theCredentials.Builder
avoiding the need to create one manually viaCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocredentials(Credentials)
.- Parameters:
credentials
- a consumer that will call methods onCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
signInUrl
The URL to sign into the user's instance.
- Parameters:
signInUrl
- The URL to sign into the user's instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userArn
The Amazon Resource Name (ARN) of the user.
- Parameters:
userArn
- The Amazon Resource Name (ARN) of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
The identifier for the user. This can be the ID or the ARN of the user.
- Parameters:
userId
- The identifier for the user. This can be the ID or the ARN of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-