public static class RenameObjectDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RenameObjectDetails |
build() |
RenameObjectDetails.Builder |
copy(RenameObjectDetails model) |
RenameObjectDetails.Builder |
newName(String newName)
The new name of the source object.
|
RenameObjectDetails.Builder |
newObjIfMatchETag(String newObjIfMatchETag)
The if-match entity tag (ETag) of the new object.
|
RenameObjectDetails.Builder |
newObjIfNoneMatchETag(String newObjIfNoneMatchETag)
The if-none-match entity tag (ETag) of the new object.
|
RenameObjectDetails.Builder |
sourceName(String sourceName)
The name of the source object to be renamed.
|
RenameObjectDetails.Builder |
srcObjIfMatchETag(String srcObjIfMatchETag)
The if-match entity tag (ETag) of the source object.
|
public RenameObjectDetails.Builder sourceName(String sourceName)
The name of the source object to be renamed.
sourceName
- the value to setpublic RenameObjectDetails.Builder newName(String newName)
The new name of the source object. Avoid entering confidential information.
newName
- the value to setpublic RenameObjectDetails.Builder srcObjIfMatchETag(String srcObjIfMatchETag)
The if-match entity tag (ETag) of the source object.
srcObjIfMatchETag
- the value to setpublic RenameObjectDetails.Builder newObjIfMatchETag(String newObjIfMatchETag)
The if-match entity tag (ETag) of the new object.
newObjIfMatchETag
- the value to setpublic 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.
newObjIfNoneMatchETag
- the value to setpublic RenameObjectDetails build()
public RenameObjectDetails.Builder copy(RenameObjectDetails model)
Copyright © 2016–2024. All rights reserved.