public static class Storage.BlobTargetOption extends Option<com.google.cloud.storage.UnifiedOpts.ObjectTargetOpt>
Modifier and Type | Method and Description |
---|---|
static Storage.BlobTargetOption[] |
dedupe(Collection<Storage.BlobTargetOption> collection,
Storage.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BlobTargetOption[] |
dedupe(Storage.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BlobTargetOption[] |
dedupe(Storage.BlobTargetOption[] array,
Storage.BlobTargetOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BlobTargetOption |
detectContentType()
Returns an option for detecting content type.
|
static Storage.BlobTargetOption |
disableGzipContent()
Returns an option for blob's data disabledGzipContent.
|
static Storage.BlobTargetOption |
doesNotExist()
Returns an option that causes an operation to succeed only if the target blob does not exist.
|
static Storage.BlobTargetOption |
encryptionKey(@NonNull Key key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Storage.BlobTargetOption |
encryptionKey(@NonNull String key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
boolean |
equals(Object o)
Deprecated.
|
static Storage.BlobTargetOption |
generationMatch()
Returns an option for blob's data generation match.
|
static Storage.BlobTargetOption |
generationMatch(long generation)
Returns an option for blob's data generation match.
|
static Storage.BlobTargetOption |
generationNotMatch()
Returns an option for blob's data generation mismatch.
|
static Storage.BlobTargetOption |
generationNotMatch(long generation)
Returns an option for blob's data generation mismatch.
|
int |
hashCode()
Deprecated.
|
static Storage.BlobTargetOption |
kmsKeyName(@NonNull String kmsKeyName)
Returns an option to set a customer-managed key for server-side encryption of the blob.
|
static Storage.BlobTargetOption |
metagenerationMatch()
Returns an option for blob's metageneration match.
|
static Storage.BlobTargetOption |
metagenerationMatch(long metageneration)
Returns an option for blob's metageneration match.
|
static Storage.BlobTargetOption |
metagenerationNotMatch()
Returns an option for blob's metageneration mismatch.
|
static Storage.BlobTargetOption |
metagenerationNotMatch(long metageneration)
Returns an option for blob's metageneration mismatch.
|
static Storage.BlobTargetOption |
predefinedAcl(@NonNull Storage.PredefinedAcl acl)
Returns an option for specifying blob's predefined ACL configuration.
|
String |
toString()
Deprecated.
|
static Storage.BlobTargetOption |
userProject(@NonNull String userProject)
Returns an option for blob's billing user project.
|
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BlobTargetOption predefinedAcl(@NonNull Storage.PredefinedAcl acl)
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BlobTargetOption doesNotExist()
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BlobTargetOption generationMatch()
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BlobTargetOption generationMatch(long generation)
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BlobTargetOption generationNotMatch(long generation)
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BlobTargetOption generationNotMatch()
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BlobTargetOption metagenerationMatch()
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BlobTargetOption metagenerationMatch(long metageneration)
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BlobTargetOption metagenerationNotMatch(long metageneration)
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BlobTargetOption metagenerationNotMatch()
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BlobTargetOption disableGzipContent()
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BlobTargetOption detectContentType()
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BlobTargetOption encryptionKey(@NonNull Key key)
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BlobTargetOption userProject(@NonNull String userProject)
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BlobTargetOption encryptionKey(@NonNull String key)
key
- the AES256 encoded in base64@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BlobTargetOption kmsKeyName(@NonNull String kmsKeyName)
@BetaApi public static Storage.BlobTargetOption[] dedupe(Storage.BlobTargetOption... os)
os
will be the value included in the return.@BetaApi public static Storage.BlobTargetOption[] dedupe(Collection<Storage.BlobTargetOption> collection, Storage.BlobTargetOption... os)
The value which comes last in collection
and os
will be the value included
in the return. All options from os
will override their counterparts in collection
.
@BetaApi public static Storage.BlobTargetOption[] dedupe(Storage.BlobTargetOption[] array, Storage.BlobTargetOption... os)
The value which comes last in collection
and os
will be the value included
in the return. All options from os
will override their counterparts in collection
.
Copyright © 2023 Google LLC. All rights reserved.