public static class Bucket.BlobTargetOption extends Object
Bucket methods are used.| Modifier and Type | Method and Description |
|---|---|
static Bucket.BlobTargetOption |
doesNotExist()
Returns an option that causes an operation to succeed only if the target blob does not exist.
|
boolean |
equals(Object obj) |
static Bucket.BlobTargetOption |
generationMatch(long generation)
Returns an option for blob's data generation match.
|
static Bucket.BlobTargetOption |
generationNotMatch(long generation)
Returns an option for blob's data generation mismatch.
|
int |
hashCode() |
static Bucket.BlobTargetOption |
metagenerationMatch(long metageneration)
Returns an option for blob's metageneration match.
|
static Bucket.BlobTargetOption |
metagenerationNotMatch(long metageneration)
Returns an option for blob's metageneration mismatch.
|
static Bucket.BlobTargetOption |
predefinedAcl(Storage.PredefinedAcl acl)
Returns an option for specifying blob's predefined ACL configuration.
|
String |
toString() |
public static Bucket.BlobTargetOption predefinedAcl(Storage.PredefinedAcl acl)
public static Bucket.BlobTargetOption doesNotExist()
generationMatch(long) or
generationNotMatch(long).public static Bucket.BlobTargetOption generationMatch(long generation)
generationNotMatch(long) or doesNotExist().public static Bucket.BlobTargetOption generationNotMatch(long generation)
generationMatch(long) or doesNotExist().public static Bucket.BlobTargetOption metagenerationMatch(long metageneration)
metagenerationNotMatch(long).public static Bucket.BlobTargetOption metagenerationNotMatch(long metageneration)
metagenerationMatch(long).Copyright © 2016 Google. All rights reserved.