Interface BatchAddRoleResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchAddRoleResponse.Builder,BatchAddRoleResponse>,RepostspaceResponse.Builder,SdkBuilder<BatchAddRoleResponse.Builder,BatchAddRoleResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchAddRoleResponse
public static interface BatchAddRoleResponse.Builder extends RepostspaceResponse.Builder, SdkPojo, CopyableBuilder<BatchAddRoleResponse.Builder,BatchAddRoleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchAddRoleResponse.BuilderaddedAccessorIds(String... addedAccessorIds)An array of successfully updated accessor identifiers.BatchAddRoleResponse.BuilderaddedAccessorIds(Collection<String> addedAccessorIds)An array of successfully updated accessor identifiers.BatchAddRoleResponse.Buildererrors(Collection<BatchError> errors)An array of errors that occurred when roles were added.BatchAddRoleResponse.Buildererrors(Consumer<BatchError.Builder>... errors)An array of errors that occurred when roles were added.BatchAddRoleResponse.Buildererrors(BatchError... errors)An array of errors that occurred when roles were added.-
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
-
addedAccessorIds
BatchAddRoleResponse.Builder addedAccessorIds(Collection<String> addedAccessorIds)
An array of successfully updated accessor identifiers.
- Parameters:
addedAccessorIds- An array of successfully updated accessor identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addedAccessorIds
BatchAddRoleResponse.Builder addedAccessorIds(String... addedAccessorIds)
An array of successfully updated accessor identifiers.
- Parameters:
addedAccessorIds- An array of successfully updated accessor identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchAddRoleResponse.Builder errors(Collection<BatchError> 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
BatchAddRoleResponse.Builder errors(BatchError... 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
BatchAddRoleResponse.Builder errors(Consumer<BatchError.Builder>... 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 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)
-
-