Package com.oracle.bmc.dif.model
Class ObjectStorageDetail.Builder
- java.lang.Object
-
- com.oracle.bmc.dif.model.ObjectStorageDetail.Builder
-
- Enclosing class:
- ObjectStorageDetail
public static class ObjectStorageDetail.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectStorageDetail.BuilderautoTiering(AutoTiering autoTiering)It sets the auto-tiering status on the bucket.Allowed values are “DISABLED” / “INFREQUENTACCESS”ObjectStorageDetailbuild()ObjectStorageDetail.Buildercopy(ObjectStorageDetail model)ObjectStorageDetail.BuilderinstanceId(String instanceId)Id for Object Storage instance to be provisioned.ObjectStorageDetail.BuilderobjectVersioning(ObjectVersioning objectVersioning)Mentions whether the object versioning to be enabled or not,Allowed values are “ENABLED” / “DISABLED”/“SUSPENDED”ObjectStorageDetail.BuilderstorageTier(StorageTier storageTier)Mentions which storage tier to use for the bucket,Allowed values are “STANDARD” / “ARCHIVE”
-
-
-
Method Detail
-
instanceId
public ObjectStorageDetail.Builder instanceId(String instanceId)
Id for Object Storage instance to be provisioned.- Parameters:
instanceId- the value to set- Returns:
- this builder
-
objectVersioning
public ObjectStorageDetail.Builder objectVersioning(ObjectVersioning objectVersioning)
Mentions whether the object versioning to be enabled or not,Allowed values are “ENABLED” / “DISABLED”/“SUSPENDED”- Parameters:
objectVersioning- the value to set- Returns:
- this builder
-
storageTier
public ObjectStorageDetail.Builder storageTier(StorageTier storageTier)
Mentions which storage tier to use for the bucket,Allowed values are “STANDARD” / “ARCHIVE”- Parameters:
storageTier- the value to set- Returns:
- this builder
-
autoTiering
public ObjectStorageDetail.Builder autoTiering(AutoTiering autoTiering)
It sets the auto-tiering status on the bucket.Allowed values are “DISABLED” / “INFREQUENTACCESS”- Parameters:
autoTiering- the value to set- Returns:
- this builder
-
build
public ObjectStorageDetail build()
-
copy
public ObjectStorageDetail.Builder copy(ObjectStorageDetail model)
-
-