All Implemented Interfaces:
ApiRequest<RenameObject.Request>
Enclosing class:
RenameObject

public static class RenameObject.Request extends ObjectRequest<RenameObject.Request>
Rename Object request.
  • Method Details

    • builder

      public static RenameObject.Request builder()
      Create a new request builder.
      Returns:
      a new request
    • objectName

      public RenameObject.Request objectName(String objectName)
      The name of the source object to be renamed.
      Overrides:
      objectName in class ObjectRequest<RenameObject.Request>
      Parameters:
      objectName - name of the object
      Returns:
      updated request
    • newObjectName

      public RenameObject.Request newObjectName(String objectName)
      The new name of the source object. Avoid entering confidential information. Required.
      Parameters:
      objectName - new name of the object
      Returns:
      updated request
    • newIfMatchETag

      public RenameObject.Request newIfMatchETag(String eTag)
      The if-match entity tag (ETag) of the new object.
      Parameters:
      eTag - entity tag for the new object
      Returns:
      updated request
    • newIfNoneMatchETag

      public RenameObject.Request newIfNoneMatchETag(String eTag)
      The if-none-match entity tag (ETag) of the new object.
      Parameters:
      eTag - entity tag
      Returns:
      updated request
    • oldIfMatchETag

      public RenameObject.Request oldIfMatchETag(String eTag)
      The if-match entity tag (ETag) of the source object.
      Parameters:
      eTag - entity tag
      Returns:
      updated request