Interface BatchPermissionsFailureEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchPermissionsFailureEntry.Builder,,BatchPermissionsFailureEntry> SdkBuilder<BatchPermissionsFailureEntry.Builder,,BatchPermissionsFailureEntry> SdkPojo
- Enclosing class:
BatchPermissionsFailureEntry
public static interface BatchPermissionsFailureEntry.Builder
extends SdkPojo, CopyableBuilder<BatchPermissionsFailureEntry.Builder,BatchPermissionsFailureEntry>
-
Method Summary
Modifier and TypeMethodDescriptionerror(Consumer<ErrorDetail.Builder> error) An error message that applies to the failure of the entry.error(ErrorDetail error) An error message that applies to the failure of the entry.requestEntry(Consumer<BatchPermissionsRequestEntry.Builder> requestEntry) An identifier for an entry of the batch request.requestEntry(BatchPermissionsRequestEntry requestEntry) An identifier for an entry of the batch request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
requestEntry
An identifier for an entry of the batch request.
- Parameters:
requestEntry- An identifier for an entry of the batch request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestEntry
default BatchPermissionsFailureEntry.Builder requestEntry(Consumer<BatchPermissionsRequestEntry.Builder> requestEntry) An identifier for an entry of the batch request.
This is a convenience method that creates an instance of theBatchPermissionsRequestEntry.Builderavoiding the need to create one manually viaBatchPermissionsRequestEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequestEntry(BatchPermissionsRequestEntry).- Parameters:
requestEntry- a consumer that will call methods onBatchPermissionsRequestEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
error
An error message that applies to the failure of the entry.
- Parameters:
error- An error message that applies to the failure of the entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
An error message that applies to the failure of the entry.
This is a convenience method that creates an instance of theErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(ErrorDetail).- Parameters:
error- a consumer that will call methods onErrorDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-