Uses of Class
com.google.cloud.storage.StorageClass
Packages that use StorageClass
Package
Description
A client for Cloud Storage - Unified object storage.
-
Uses of StorageClass in com.google.cloud.storage
Fields in com.google.cloud.storage declared as StorageClassModifier and TypeFieldDescriptionstatic final StorageClassStorageClass.ARCHIVEArchive storage class.static final StorageClassStorageClass.COLDLINEColdline storage class.static final StorageClassStorageClass.DURABLE_REDUCED_AVAILABILITYLegacy Durable Reduced Availability storage class, useSTANDARDinstead.static final StorageClassStorageClass.MULTI_REGIONALLegacy Multi-regional storage class, useSTANDARDinstead.static final StorageClassStorageClass.NEARLINENearline storage class.static final StorageClassStorageClass.REGIONALLegacy Regional storage class, useSTANDARDinstead.static final StorageClassStorageClass.STANDARDStandard storage class.Methods in com.google.cloud.storage that return StorageClassModifier and TypeMethodDescriptionBlobInfo.getStorageClass()Returns the storage class of the blob.BucketInfo.getStorageClass()Returns the bucket's storage class.BucketInfo.LifecycleRule.SetStorageClassLifecycleAction.getStorageClass()BucketInfo.Autoclass.getTerminalStorageClass()static StorageClassGet the StorageClass for the given String constant, and allow unrecognized values.static StorageClassStorageClass.valueOfStrict(String constant) Get the StorageClass for the given String constant, and throw an exception if the constant is not recognized.static StorageClass[]StorageClass.values()Return the known values for StorageClass.Methods in com.google.cloud.storage that return types with arguments of type StorageClassModifier and TypeMethodDescriptionBucketInfo.LifecycleRule.LifecycleCondition.getMatchesStorageClass()Methods in com.google.cloud.storage with parameters of type StorageClassModifier and TypeMethodDescriptionBucketInfo.LifecycleRule.LifecycleAction.newSetStorageClassAction(@NonNull StorageClass storageClass) Creates a newSetStorageClassLifecycleAction.Blob.Builder.setStorageClass(StorageClass storageClass) abstract BlobInfo.BuilderBlobInfo.Builder.setStorageClass(StorageClass storageClass) Sets the blob's storage class.Bucket.Builder.setStorageClass(StorageClass storageClass) abstract BucketInfo.BuilderBucketInfo.Builder.setStorageClass(StorageClass storageClass) Sets the bucket's storage class.BucketInfo.Autoclass.Builder.setTerminalStorageClass(StorageClass terminalStorageClass) When set toNEARLINE, Autoclass restricts transitions between Standard and Nearline storage classes only.Method parameters in com.google.cloud.storage with type arguments of type StorageClassModifier and TypeMethodDescriptionBucketInfo.LifecycleRule.LifecycleCondition.Builder.setMatchesStorageClass(List<StorageClass> matchesStorageClass) Sets a list of Storage Classes for a objects that satisfy the condition to execute the Action -
Uses of StorageClass in com.google.cloud.storage.multipartupload.model
Methods in com.google.cloud.storage.multipartupload.model that return StorageClassModifier and TypeMethodDescriptionCreateMultipartUploadRequest.getStorageClass()Returns the storage class for the object.ListPartsResponse.getStorageClass()Returns the storage class of the object.Methods in com.google.cloud.storage.multipartupload.model with parameters of type StorageClassModifier and TypeMethodDescriptionListPartsResponse.Builder.setStorageClass(StorageClass storageClass) Sets the storage class of the object.CreateMultipartUploadRequest.Builder.storageClass(StorageClass storageClass) Gives each part of the upload and the resulting object a storage class besides the default storage class of the associated bucket.