Interface Delete.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Delete.Builder,,Delete> SdkBuilder<Delete.Builder,,Delete> SdkPojo
- Enclosing class:
Delete
-
Method Summary
Modifier and TypeMethodDescriptionobjects(Collection<ObjectIdentifier> objects) The object to delete.objects(Consumer<ObjectIdentifier.Builder>... objects) The object to delete.objects(ObjectIdentifier... objects) The object to delete.Element to enable quiet mode for the 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, sdkFieldNameToField, sdkFields
-
Method Details
-
objects
The object to delete.
Directory buckets - For directory buckets, an object that's composed entirely of whitespace characters is not supported by the
DeleteObjectsAPI operation. The request will receive a400 Bad Requesterror and none of the objects in the request will be deleted.- Parameters:
objects- The object to delete.Directory buckets - For directory buckets, an object that's composed entirely of whitespace characters is not supported by the
DeleteObjectsAPI operation. The request will receive a400 Bad Requesterror and none of the objects in the request will be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objects
The object to delete.
Directory buckets - For directory buckets, an object that's composed entirely of whitespace characters is not supported by the
DeleteObjectsAPI operation. The request will receive a400 Bad Requesterror and none of the objects in the request will be deleted.- Parameters:
objects- The object to delete.Directory buckets - For directory buckets, an object that's composed entirely of whitespace characters is not supported by the
DeleteObjectsAPI operation. The request will receive a400 Bad Requesterror and none of the objects in the request will be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objects
The object to delete.
This is a convenience method that creates an instance of theDirectory buckets - For directory buckets, an object that's composed entirely of whitespace characters is not supported by the
DeleteObjectsAPI operation. The request will receive a400 Bad Requesterror and none of the objects in the request will be deleted.ObjectIdentifier.Builderavoiding the need to create one manually viaObjectIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toobjects(List<ObjectIdentifier>).- Parameters:
objects- a consumer that will call methods onObjectIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
quiet
Element to enable quiet mode for the request. When you add this element, you must set its value to
true.- Parameters:
quiet- Element to enable quiet mode for the request. When you add this element, you must set its value totrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-