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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BatchPermissionsFailureEntry.Buildererror(Consumer<ErrorDetail.Builder> error)An error message that applies to the failure of the entry.BatchPermissionsFailureEntry.Buildererror(ErrorDetail error)An error message that applies to the failure of the entry.default BatchPermissionsFailureEntry.BuilderrequestEntry(Consumer<BatchPermissionsRequestEntry.Builder> requestEntry)An identifier for an entry of the batch request.BatchPermissionsFailureEntry.BuilderrequestEntry(BatchPermissionsRequestEntry requestEntry)An identifier for an entry of the batch request.-
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, sdkFields
-
-
-
-
Method Detail
-
requestEntry
BatchPermissionsFailureEntry.Builder requestEntry(BatchPermissionsRequestEntry 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:
requestEntry(BatchPermissionsRequestEntry)
-
error
BatchPermissionsFailureEntry.Builder error(ErrorDetail 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
default BatchPermissionsFailureEntry.Builder error(Consumer<ErrorDetail.Builder> 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:
error(ErrorDetail)
-
-