Interface TestAuthorizationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<TestAuthorizationResponse.Builder,
,TestAuthorizationResponse> IotResponse.Builder
,SdkBuilder<TestAuthorizationResponse.Builder,
,TestAuthorizationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
TestAuthorizationResponse
public static interface TestAuthorizationResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<TestAuthorizationResponse.Builder,TestAuthorizationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionauthResults
(Collection<AuthResult> authResults) The authentication results.authResults
(Consumer<AuthResult.Builder>... authResults) The authentication results.authResults
(AuthResult... authResults) The authentication results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
authResults
The authentication results.
- Parameters:
authResults
- The authentication results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authResults
The authentication results.
- Parameters:
authResults
- The authentication results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authResults
The authentication results.
This is a convenience method that creates an instance of theAuthResult.Builder
avoiding the need to create one manually viaAuthResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthResults(List<AuthResult>)
.- Parameters:
authResults
- a consumer that will call methods onAuthResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-