public static interface TestAuthorizationResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<TestAuthorizationResponse.Builder,TestAuthorizationResponse>
| Modifier and Type | Method and Description |
|---|---|
TestAuthorizationResponse.Builder |
authResults(AuthResult... authResults)
The authentication results.
|
TestAuthorizationResponse.Builder |
authResults(Collection<AuthResult> authResults)
The authentication results.
|
TestAuthorizationResponse.Builder |
authResults(Consumer<AuthResult.Builder>... authResults)
The authentication results.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildTestAuthorizationResponse.Builder authResults(Collection<AuthResult> authResults)
The authentication results.
authResults - The authentication results.TestAuthorizationResponse.Builder authResults(AuthResult... authResults)
The authentication results.
authResults - The authentication results.TestAuthorizationResponse.Builder authResults(Consumer<AuthResult.Builder>... authResults)
The authentication results.
This is a convenience method that creates an instance of theAuthResult.Builder avoiding the need to create one manually
via AuthResult.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #authResults(List.
authResults - a consumer that will call methods on
AuthResult.Builder#authResults(java.util.Collection) Copyright © 2022. All rights reserved.