Interface Delete.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Delete.Builder,Delete>, SdkBuilder<Delete.Builder,Delete>, SdkPojo
Enclosing class:
Delete

public static interface Delete.Builder extends SdkPojo, CopyableBuilder<Delete.Builder,Delete>
  • 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 DeleteObjects API operation. The request will receive a 400 Bad Request error 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 DeleteObjects API operation. The request will receive a 400 Bad Request error 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

      Delete.Builder objects(ObjectIdentifier... objects)

      The object to delete.

      Directory buckets - For directory buckets, an object that's composed entirely of whitespace characters is not supported by the DeleteObjects API operation. The request will receive a 400 Bad Request error 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 DeleteObjects API operation. The request will receive a 400 Bad Request error 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 DeleteObjects API operation. The request will receive a 400 Bad Request error and none of the objects in the request will be deleted.

      This is a convenience method that creates an instance of the ObjectIdentifier.Builder avoiding the need to create one manually via ObjectIdentifier.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to objects(List<ObjectIdentifier>).

      Parameters:
      objects - a consumer that will call methods on ObjectIdentifier.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • quiet

      Delete.Builder quiet(Boolean 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 to true.
      Returns:
      Returns a reference to this object so that method calls can be chained together.