Interface BatchAddChannelRoleToAccessorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchAddChannelRoleToAccessorsResponse.Builder,,BatchAddChannelRoleToAccessorsResponse> RepostspaceResponse.Builder,SdkBuilder<BatchAddChannelRoleToAccessorsResponse.Builder,,BatchAddChannelRoleToAccessorsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchAddChannelRoleToAccessorsResponse
@Mutable
@NotThreadSafe
public static interface BatchAddChannelRoleToAccessorsResponse.Builder
extends RepostspaceResponse.Builder, SdkPojo, CopyableBuilder<BatchAddChannelRoleToAccessorsResponse.Builder,BatchAddChannelRoleToAccessorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaddedAccessorIds(String... addedAccessorIds) An array of successfully updated identifiers.addedAccessorIds(Collection<String> addedAccessorIds) An array of successfully updated identifiers.errors(Collection<BatchError> errors) An array of errors that occurred when roles were added.errors(Consumer<BatchError.Builder>... errors) An array of errors that occurred when roles were added.errors(BatchError... errors) An array of errors that occurred when roles were added.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.repostspace.model.RepostspaceResponse.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
-
addedAccessorIds
BatchAddChannelRoleToAccessorsResponse.Builder addedAccessorIds(Collection<String> addedAccessorIds) An array of successfully updated identifiers.
- Parameters:
addedAccessorIds- An array of successfully updated identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addedAccessorIds
An array of successfully updated identifiers.
- Parameters:
addedAccessorIds- 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 added.
- Parameters:
errors- An array of errors that occurred when roles were added.- 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 added.
- Parameters:
errors- An array of errors that occurred when roles were added.- 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 added.
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 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:
-