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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetTokensFromRefreshTokenResponse.BuilderauthenticationResult(Consumer<AuthenticationResultType.Builder> authenticationResult)Sets the value of the AuthenticationResult property for this object.GetTokensFromRefreshTokenResponse.BuilderauthenticationResult(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, 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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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:
authenticationResult(AuthenticationResultType)
-
-