Interface BatchGetPolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetPolicyResponse.Builder,,BatchGetPolicyResponse> SdkBuilder<BatchGetPolicyResponse.Builder,,BatchGetPolicyResponse> SdkPojo,SdkResponse.Builder,VerifiedPermissionsResponse.Builder
- Enclosing class:
BatchGetPolicyResponse
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<BatchGetPolicyErrorItem> errors) Information about the policies from the request that resulted in an error.errors(Consumer<BatchGetPolicyErrorItem.Builder>... errors) Information about the policies from the request that resulted in an error.errors(BatchGetPolicyErrorItem... errors) Information about the policies from the request that resulted in an error.results(Collection<BatchGetPolicyOutputItem> results) Information about the policies listed in the request that were successfully returned.results(Consumer<BatchGetPolicyOutputItem.Builder>... results) Information about the policies listed in the request that were successfully returned.results(BatchGetPolicyOutputItem... results) Information about the policies listed in the request that were successfully returned.Methods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.verifiedpermissions.model.VerifiedPermissionsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
results
Information about the policies listed in the request that were successfully returned. These results are returned in the order they were requested.
- Parameters:
results- Information about the policies listed in the request that were successfully returned. These results are returned in the order they were requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
Information about the policies listed in the request that were successfully returned. These results are returned in the order they were requested.
- Parameters:
results- Information about the policies listed in the request that were successfully returned. These results are returned in the order they were requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
Information about the policies listed in the request that were successfully returned. These results are returned in the order they were requested.
This is a convenience method that creates an instance of theBatchGetPolicyOutputItem.Builderavoiding the need to create one manually viaBatchGetPolicyOutputItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresults(List<BatchGetPolicyOutputItem>).- Parameters:
results- a consumer that will call methods onBatchGetPolicyOutputItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
Information about the policies from the request that resulted in an error. These results are returned in the order they were requested.
- Parameters:
errors- Information about the policies from the request that resulted in an error. These results are returned in the order they were requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Information about the policies from the request that resulted in an error. These results are returned in the order they were requested.
- Parameters:
errors- Information about the policies from the request that resulted in an error. These results are returned in the order they were requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Information about the policies from the request that resulted in an error. These results are returned in the order they were requested.
This is a convenience method that creates an instance of theBatchGetPolicyErrorItem.Builderavoiding the need to create one manually viaBatchGetPolicyErrorItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchGetPolicyErrorItem>).- Parameters:
errors- a consumer that will call methods onBatchGetPolicyErrorItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-