Interface GetTokensFromRefreshTokenResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<GetTokensFromRefreshTokenResponse.Builder,,GetTokensFromRefreshTokenResponse> SdkBuilder<GetTokensFromRefreshTokenResponse.Builder,,GetTokensFromRefreshTokenResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetTokensFromRefreshTokenResponse
@Mutable
@NotThreadSafe
public static interface GetTokensFromRefreshTokenResponse.Builder
extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<GetTokensFromRefreshTokenResponse.Builder,GetTokensFromRefreshTokenResponse>
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationResult(Consumer<AuthenticationResultType.Builder> authenticationResult) Sets the value of the AuthenticationResult property for this object.authenticationResult(AuthenticationResultType authenticationResult) Sets the value of the AuthenticationResult property for this object.Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
authenticationResult
GetTokensFromRefreshTokenResponse.Builder authenticationResult(AuthenticationResultType authenticationResult) Sets the value of the AuthenticationResult property for this object.- Parameters:
authenticationResult- The new value for the AuthenticationResult property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationResult
default GetTokensFromRefreshTokenResponse.Builder authenticationResult(Consumer<AuthenticationResultType.Builder> authenticationResult) Sets the value of the AuthenticationResult property for this object. This is a convenience method that creates an instance of theAuthenticationResultType.Builderavoiding the need to create one manually viaAuthenticationResultType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthenticationResult(AuthenticationResultType).- Parameters:
authenticationResult- a consumer that will call methods onAuthenticationResultType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-