Interface BatchDeletePolicyAssignmentByPolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchDeletePolicyAssignmentByPolicyResponse.Builder,,BatchDeletePolicyAssignmentByPolicyResponse> QuickSightResponse.Builder,SdkBuilder<BatchDeletePolicyAssignmentByPolicyResponse.Builder,,BatchDeletePolicyAssignmentByPolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchDeletePolicyAssignmentByPolicyResponse
-
Method Summary
Modifier and TypeMethodDescriptionA list of principals that the operation couldn't remove the policy from, with the reason for each failure.errors(Consumer<BatchDeletePolicyAssignmentError.Builder>... errors) A list of principals that the operation couldn't remove the policy from, with the reason for each failure.errors(BatchDeletePolicyAssignmentError... errors) A list of principals that the operation couldn't remove the policy from, with the reason for each failure.The ARN of the policy from the request.A list of principals that no longer have the policy.success(Consumer<BatchDeletePolicyAssignmentSuccess.Builder>... success) A list of principals that no longer have the policy.success(BatchDeletePolicyAssignmentSuccess... success) A list of principals that no longer have the policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
policyArn
The ARN of the policy from the request.
- Parameters:
policyArn- The ARN of the policy from the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
success
BatchDeletePolicyAssignmentByPolicyResponse.Builder success(Collection<BatchDeletePolicyAssignmentSuccess> success) A list of principals that no longer have the policy.
- Parameters:
success- A list of principals that no longer have the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
success
BatchDeletePolicyAssignmentByPolicyResponse.Builder success(BatchDeletePolicyAssignmentSuccess... success) A list of principals that no longer have the policy.
- Parameters:
success- A list of principals that no longer have the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
success
BatchDeletePolicyAssignmentByPolicyResponse.Builder success(Consumer<BatchDeletePolicyAssignmentSuccess.Builder>... success) A list of principals that no longer have the policy.
This is a convenience method that creates an instance of theBatchDeletePolicyAssignmentSuccess.Builderavoiding the need to create one manually viaBatchDeletePolicyAssignmentSuccess.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccess(List<BatchDeletePolicyAssignmentSuccess>).- Parameters:
success- a consumer that will call methods onBatchDeletePolicyAssignmentSuccess.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
BatchDeletePolicyAssignmentByPolicyResponse.Builder errors(Collection<BatchDeletePolicyAssignmentError> errors) A list of principals that the operation couldn't remove the policy from, with the reason for each failure.
- Parameters:
errors- A list of principals that the operation couldn't remove the policy from, with the reason for each failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDeletePolicyAssignmentByPolicyResponse.Builder errors(BatchDeletePolicyAssignmentError... errors) A list of principals that the operation couldn't remove the policy from, with the reason for each failure.
- Parameters:
errors- A list of principals that the operation couldn't remove the policy from, with the reason for each failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDeletePolicyAssignmentByPolicyResponse.Builder errors(Consumer<BatchDeletePolicyAssignmentError.Builder>... errors) A list of principals that the operation couldn't remove the policy from, with the reason for each failure.
This is a convenience method that creates an instance of theBatchDeletePolicyAssignmentError.Builderavoiding the need to create one manually viaBatchDeletePolicyAssignmentError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchDeletePolicyAssignmentError>).- Parameters:
errors- a consumer that will call methods onBatchDeletePolicyAssignmentError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-