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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetFederationTokenResponse.Buildercredentials(Consumer<Credentials.Builder> credentials)The credentials to use for federation.GetFederationTokenResponse.Buildercredentials(Credentials credentials)The credentials to use for federation.GetFederationTokenResponse.BuildersignInUrl(String signInUrl)The URL to sign into the user's instance.GetFederationTokenResponse.BuilderuserArn(String userArn)The Amazon Resource Name (ARN) of the user.GetFederationTokenResponse.BuilderuserId(String userId)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 Detail
-
credentials
GetFederationTokenResponse.Builder credentials(Credentials 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
default GetFederationTokenResponse.Builder credentials(Consumer<Credentials.Builder> credentials)
The credentials to use for federation.
This is a convenience method that creates an instance of theCredentials.Builderavoiding the need to create one manually viaCredentials.builder().When the
Consumercompletes,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:
credentials(Credentials)
-
signInUrl
GetFederationTokenResponse.Builder signInUrl(String 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
GetFederationTokenResponse.Builder userArn(String 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
GetFederationTokenResponse.Builder userId(String 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.
-
-