Interface BatchRemoveRoleResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchRemoveRoleResponse.Builder,BatchRemoveRoleResponse>,RepostspaceResponse.Builder,SdkBuilder<BatchRemoveRoleResponse.Builder,BatchRemoveRoleResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchRemoveRoleResponse
public static interface BatchRemoveRoleResponse.Builder extends RepostspaceResponse.Builder, SdkPojo, CopyableBuilder<BatchRemoveRoleResponse.Builder,BatchRemoveRoleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchRemoveRoleResponse.Buildererrors(Collection<BatchError> errors)An array of errors that occurred when roles were removed.BatchRemoveRoleResponse.Buildererrors(Consumer<BatchError.Builder>... errors)An array of errors that occurred when roles were removed.BatchRemoveRoleResponse.Buildererrors(BatchError... errors)An array of errors that occurred when roles were removed.BatchRemoveRoleResponse.BuilderremovedAccessorIds(String... removedAccessorIds)An array of successfully updated accessor identifiers.BatchRemoveRoleResponse.BuilderremovedAccessorIds(Collection<String> removedAccessorIds)An array of successfully updated accessor identifiers.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.repostspace.model.RepostspaceResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
errors
BatchRemoveRoleResponse.Builder errors(Collection<BatchError> errors)
An array of errors that occurred when roles were removed.
- Parameters:
errors- An array of errors that occurred when roles were removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchRemoveRoleResponse.Builder errors(BatchError... errors)
An array of errors that occurred when roles were removed.
- Parameters:
errors- An array of errors that occurred when roles were removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchRemoveRoleResponse.Builder errors(Consumer<BatchError.Builder>... errors)
An array of errors that occurred when roles were removed.
This is a convenience method that creates an instance of theBatchError.Builderavoiding the need to create one manually viaBatchError.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 onBatchError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errors(java.util.Collection)
-
removedAccessorIds
BatchRemoveRoleResponse.Builder removedAccessorIds(Collection<String> removedAccessorIds)
An array of successfully updated accessor identifiers.
- Parameters:
removedAccessorIds- An array of successfully updated accessor identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removedAccessorIds
BatchRemoveRoleResponse.Builder removedAccessorIds(String... removedAccessorIds)
An array of successfully updated accessor identifiers.
- Parameters:
removedAccessorIds- An array of successfully updated accessor identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-