Class RenameObjectDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.model.RenameObjectDetails.Builder
-
- Enclosing class:
- RenameObjectDetails
public static class RenameObjectDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
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
-
build
public RenameObjectDetails build()
-
copy
public RenameObjectDetails.Builder copy(RenameObjectDetails model)
-
-