public final class GcsFileOptions extends Object implements Serializable
To construct GcsFileOptions, first create a GcsFileOptions.Builder. The builder
is mutable and each of the parameters can be set (any unset parameters will fallback to the
defaults). The Builder can be then used to create an immutable GcsFileOptions
object.
For default GcsFileOptions use getDefaultInstance(). Default settings are subject
to change release to release. Currently the default values are to not specify any of the options.
If you require specific settings, explicitly create an instance of GcsFileOptions with
the required settings.
| Modifier and Type | Class and Description |
|---|---|
static class |
GcsFileOptions.Builder
A builder of GcsFileOptions.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAcl() |
String |
getCacheControl() |
String |
getContentDisposition() |
String |
getContentEncoding() |
static GcsFileOptions |
getDefaultInstance()
Retrieve an instance with the default parameters
|
String |
getMimeType() |
Map<String,String> |
getUserMetadata() |
int |
hashCode() |
String |
toString() |
public static GcsFileOptions getDefaultInstance()
public String getMimeType()
public String getAcl()
public String getCacheControl()
public String getContentEncoding()
public String getContentDisposition()
public Map<String,String> getUserMetadata()
Copyright © 2016 Google. All rights reserved.