Interface ChallengeResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ChallengeResponse.Builder,ChallengeResponse>,SdkBuilder<ChallengeResponse.Builder,ChallengeResponse>,SdkPojo
- Enclosing class:
- ChallengeResponse
public static interface ChallengeResponse.Builder extends SdkPojo, CopyableBuilder<ChallengeResponse.Builder,ChallengeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChallengeResponse.BuilderfailureReason(String failureReason)The reason for failure, populated when the evaluation of the token fails.ChallengeResponse.BuilderfailureReason(FailureReason failureReason)The reason for failure, populated when the evaluation of the token fails.ChallengeResponse.BuilderresponseCode(Integer responseCode)The HTTP response code indicating the status of the challenge token in the web request.ChallengeResponse.BuildersolveTimestamp(Long solveTimestamp)The time that the challenge was last solved for the supplied token.-
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
-
-
-
-
Method Detail
-
responseCode
ChallengeResponse.Builder responseCode(Integer responseCode)
The HTTP response code indicating the status of the challenge token in the web request. If the token is missing, invalid, or expired, this code is
202 Request Accepted.- Parameters:
responseCode- The HTTP response code indicating the status of the challenge token in the web request. If the token is missing, invalid, or expired, this code is202 Request Accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
solveTimestamp
ChallengeResponse.Builder solveTimestamp(Long solveTimestamp)
The time that the challenge was last solved for the supplied token.
- Parameters:
solveTimestamp- The time that the challenge was last solved for the supplied token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
ChallengeResponse.Builder failureReason(String failureReason)
The reason for failure, populated when the evaluation of the token fails.
- Parameters:
failureReason- The reason for failure, populated when the evaluation of the token fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FailureReason,FailureReason
-
failureReason
ChallengeResponse.Builder failureReason(FailureReason failureReason)
The reason for failure, populated when the evaluation of the token fails.
- Parameters:
failureReason- The reason for failure, populated when the evaluation of the token fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FailureReason,FailureReason
-
-