Interface BatchRemoveChannelRoleFromAccessorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchRemoveChannelRoleFromAccessorsResponse.Builder,
,BatchRemoveChannelRoleFromAccessorsResponse> RepostspaceResponse.Builder
,SdkBuilder<BatchRemoveChannelRoleFromAccessorsResponse.Builder,
,BatchRemoveChannelRoleFromAccessorsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchRemoveChannelRoleFromAccessorsResponse
@Mutable
@NotThreadSafe
public static interface BatchRemoveChannelRoleFromAccessorsResponse.Builder
extends RepostspaceResponse.Builder, SdkPojo, CopyableBuilder<BatchRemoveChannelRoleFromAccessorsResponse.Builder,BatchRemoveChannelRoleFromAccessorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors
(Collection<BatchError> errors) An array of errors that occurred when roles were removed.errors
(Consumer<BatchError.Builder>... errors) An array of errors that occurred when roles were removed.errors
(BatchError... errors) An array of errors that occurred when roles were removed.removedAccessorIds
(String... removedAccessorIds) An array of successfully updated identifiers.removedAccessorIds
(Collection<String> removedAccessorIds) An array of successfully updated 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 Details
-
removedAccessorIds
BatchRemoveChannelRoleFromAccessorsResponse.Builder removedAccessorIds(Collection<String> removedAccessorIds) An array of successfully updated identifiers.
- Parameters:
removedAccessorIds
- An array of successfully updated identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removedAccessorIds
BatchRemoveChannelRoleFromAccessorsResponse.Builder removedAccessorIds(String... removedAccessorIds) An array of successfully updated identifiers.
- Parameters:
removedAccessorIds
- An array of successfully updated identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
An array of errors that occurred when roles were removed.
This is a convenience method that creates an instance of theBatchError.Builder
avoiding the need to create one manually viaBatchError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<BatchError>)
.- 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:
-