Interface BatchGetPolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetPolicyResponse.Builder,BatchGetPolicyResponse>,SdkBuilder<BatchGetPolicyResponse.Builder,BatchGetPolicyResponse>,SdkPojo,SdkResponse.Builder,VerifiedPermissionsResponse.Builder
- Enclosing class:
- BatchGetPolicyResponse
@Mutable @NotThreadSafe public static interface BatchGetPolicyResponse.Builder extends VerifiedPermissionsResponse.Builder, SdkPojo, CopyableBuilder<BatchGetPolicyResponse.Builder,BatchGetPolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchGetPolicyResponse.Buildererrors(Collection<BatchGetPolicyErrorItem> errors)Information about the policies from the request that resulted in an error.BatchGetPolicyResponse.Buildererrors(Consumer<BatchGetPolicyErrorItem.Builder>... errors)Information about the policies from the request that resulted in an error.BatchGetPolicyResponse.Buildererrors(BatchGetPolicyErrorItem... errors)Information about the policies from the request that resulted in an error.BatchGetPolicyResponse.Builderresults(Collection<BatchGetPolicyOutputItem> results)Information about the policies listed in the request that were successfully returned.BatchGetPolicyResponse.Builderresults(Consumer<BatchGetPolicyOutputItem.Builder>... results)Information about the policies listed in the request that were successfully returned.BatchGetPolicyResponse.Builderresults(BatchGetPolicyOutputItem... results)Information about the policies listed in the request that were successfully returned.-
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
-
Methods inherited from interface software.amazon.awssdk.services.verifiedpermissions.model.VerifiedPermissionsResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
results
BatchGetPolicyResponse.Builder results(Collection<BatchGetPolicyOutputItem> 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
BatchGetPolicyResponse.Builder results(BatchGetPolicyOutputItem... 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
BatchGetPolicyResponse.Builder results(Consumer<BatchGetPolicyOutputItem.Builder>... 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 to#results(List.) - 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:
#results(java.util.Collection)
-
errors
BatchGetPolicyResponse.Builder errors(Collection<BatchGetPolicyErrorItem> 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
BatchGetPolicyResponse.Builder errors(BatchGetPolicyErrorItem... 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
BatchGetPolicyResponse.Builder errors(Consumer<BatchGetPolicyErrorItem.Builder>... 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 to#errors(List.) - 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:
#errors(java.util.Collection)
-
-