Class RenameObjectDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • sourceName

        public RenameObjectDetails.Builder sourceName​(String sourceName)
        The name of the source object to be renamed.
        Parameters:
        sourceName - the value to set
        Returns:
        this builder
      • newName

        public RenameObjectDetails.Builder newName​(String newName)
        The new name of the source object.

        Avoid entering confidential information.

        Parameters:
        newName - the value to set
        Returns:
        this builder
      • srcObjIfMatchETag

        public RenameObjectDetails.Builder srcObjIfMatchETag​(String srcObjIfMatchETag)
        The if-match entity tag (ETag) of the source object.
        Parameters:
        srcObjIfMatchETag - the value to set
        Returns:
        this builder
      • newObjIfMatchETag

        public RenameObjectDetails.Builder newObjIfMatchETag​(String newObjIfMatchETag)
        The if-match entity tag (ETag) of the new object.
        Parameters:
        newObjIfMatchETag - the value to set
        Returns:
        this builder
      • newObjIfNoneMatchETag

        public RenameObjectDetails.Builder newObjIfNoneMatchETag​(String newObjIfNoneMatchETag)
        The if-none-match entity tag (ETag) of the new object.

        The only valid value is ‘*’, which indicates request should fail if the new object already exists.

        Parameters:
        newObjIfNoneMatchETag - the value to set
        Returns:
        this builder