Interface ShareError.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ShareError.Builder,ShareError>,SdkBuilder<ShareError.Builder,ShareError>,SdkPojo
- Enclosing class:
- ShareError
public static interface ShareError.Builder extends SdkPojo, CopyableBuilder<ShareError.Builder,ShareError>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ShareError.Builderaccounts(String... accounts)List of accounts impacted by the error.ShareError.Builderaccounts(Collection<String> accounts)List of accounts impacted by the error.ShareError.Buildererror(String error)Error type that happened when processing the operation.ShareError.Buildermessage(String message)Information about the error.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
accounts
ShareError.Builder accounts(Collection<String> accounts)
List of accounts impacted by the error.
- Parameters:
accounts- List of accounts impacted by the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
ShareError.Builder accounts(String... accounts)
List of accounts impacted by the error.
- Parameters:
accounts- List of accounts impacted by the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
ShareError.Builder message(String message)
Information about the error.
- Parameters:
message- Information about the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
ShareError.Builder error(String error)
Error type that happened when processing the operation.
- Parameters:
error- Error type that happened when processing the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-