public class GcsFileSystemConfigBuilder
extends org.apache.commons.vfs2.FileSystemConfigBuilder
| Modifier and Type | Method and Description |
|---|---|
Integer |
getClientType(org.apache.commons.vfs2.FileSystemOptions opts)
Get the client type, will be used while constructing storage client for GCS
|
String |
getCmkId(org.apache.commons.vfs2.FileSystemOptions opts)
Get the CMK id, will be used while creating new storage item
|
protected Class<? extends org.apache.commons.vfs2.FileSystem> |
getConfigClass() |
String |
getHostname(org.apache.commons.vfs2.FileSystemOptions opts)
Get the hostname, will be used while constructing storage client for GCS
|
static GcsFileSystemConfigBuilder |
getInstance() |
byte[] |
getKey(org.apache.commons.vfs2.FileSystemOptions opts)
Get the input stream for key to access GCS
|
void |
setClientType(org.apache.commons.vfs2.FileSystemOptions opts,
Integer type)
Set the client type, will be used while constructing storage client for GCS
|
void |
setCmkId(org.apache.commons.vfs2.FileSystemOptions opts,
String cmkId)
Set the CMK id, will be used while creating new storage item
|
void |
setHostname(org.apache.commons.vfs2.FileSystemOptions opts,
String hostname)
Set the hostname, will be used while constructing storage client for GCS
|
void |
setKey(org.apache.commons.vfs2.FileSystemOptions opts,
byte[] fis)
Set the input stream for key to access GCS
|
getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getCharacter, getCharacter, getCharacter, getDouble, getDouble, getDouble, getDuration, getDuration, getDurationInteger, getDurationInteger, getEnum, getEnum, getFloat, getFloat, getFloat, getInteger, getInteger, getInteger, getLong, getLong, getLong, getParam, getRootURI, getShort, getShort, getShort, getString, getString, hasObject, hasParam, setParam, setParam, setRootURI, toBooleanObjectpublic static GcsFileSystemConfigBuilder getInstance()
protected Class<? extends org.apache.commons.vfs2.FileSystem> getConfigClass()
getConfigClass in class org.apache.commons.vfs2.FileSystemConfigBuilderpublic void setKey(org.apache.commons.vfs2.FileSystemOptions opts,
byte[] fis)
public byte[] getKey(org.apache.commons.vfs2.FileSystemOptions opts)
public void setHostname(org.apache.commons.vfs2.FileSystemOptions opts,
String hostname)
public String getHostname(org.apache.commons.vfs2.FileSystemOptions opts)
public void setClientType(org.apache.commons.vfs2.FileSystemOptions opts,
Integer type)
public Integer getClientType(org.apache.commons.vfs2.FileSystemOptions opts)
public void setCmkId(org.apache.commons.vfs2.FileSystemOptions opts,
String cmkId)
public String getCmkId(org.apache.commons.vfs2.FileSystemOptions opts)
Copyright © 2024. All rights reserved.