Class UpdateObjectStorageTierDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.model.UpdateObjectStorageTierDetails.Builder
-
- Enclosing class:
- UpdateObjectStorageTierDetails
public static class UpdateObjectStorageTierDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateObjectStorageTierDetailsbuild()UpdateObjectStorageTierDetails.Buildercopy(UpdateObjectStorageTierDetails model)UpdateObjectStorageTierDetails.BuilderobjectName(String objectName)An object for which the storage tier needs to be changed.UpdateObjectStorageTierDetails.BuilderstorageTier(StorageTier storageTier)The storage tier that the object should be moved to.UpdateObjectStorageTierDetails.BuilderversionId(String versionId)The versionId of the object.
-
-
-
Method Detail
-
objectName
public UpdateObjectStorageTierDetails.Builder objectName(String objectName)
An object for which the storage tier needs to be changed.- Parameters:
objectName- the value to set- Returns:
- this builder
-
storageTier
public UpdateObjectStorageTierDetails.Builder storageTier(StorageTier storageTier)
The storage tier that the object should be moved to.- Parameters:
storageTier- the value to set- Returns:
- this builder
-
versionId
public UpdateObjectStorageTierDetails.Builder versionId(String versionId)
The versionId of the object.Current object version is used by default.
- Parameters:
versionId- the value to set- Returns:
- this builder
-
build
public UpdateObjectStorageTierDetails build()
-
copy
public UpdateObjectStorageTierDetails.Builder copy(UpdateObjectStorageTierDetails model)
-
-