Class CloudStorageConfiguration.Builder (0.125.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.125.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   static   final   class  CloudStorageConfiguration . Builder  
  
  
  
  Methods
   
  autoDetectRequesterPays(boolean value) 
  
    
public   CloudStorageConfiguration . Builder   autoDetectRequesterPays ( boolean   value )  
  Parameter 
  
  Returns 
  
  blockSize(int value) 
  
    
public   CloudStorageConfiguration . Builder   blockSize ( int   value )  
  Sets the block size in bytes that should be used for each HTTP request to the API.
 
The default is {@value CloudStorageFileSystem#BLOCK_SIZE_DEFAULT}.
Parameter 
  
    
      
        Name Description  
      
        value int  
     
  
  Returns 
  
  build() 
  
    
public   CloudStorageConfiguration   build ()  
  Creates new instance without destroying builder.
Returns 
  
  maxChannelReopens(int value) 
  
    
public   CloudStorageConfiguration . Builder   maxChannelReopens ( int   value )  
  Parameter 
  
    
      
        Name Description  
      
        value int  
     
  
  Returns 
  
  permitEmptyPathComponents(boolean value) 
  
    
public   CloudStorageConfiguration . Builder   permitEmptyPathComponents ( boolean   value )  
  Configures whether or not we should throw an exception when encountering object names
 containing superfluous slashes, e.g. a//b.
Parameter 
  
  Returns 
  
  reopenableExceptions(ImmutableList<Class<? extends Exception>> values) 
  
    
public   CloudStorageConfiguration . Builder   reopenableExceptions ( ImmutableList<Class <?   extends   Exception >>  values )  
  Parameter 
  
    
      
        Name Description  
      
        values com.google.common.collect.ImmutableList <Class <? extends java.lang.Exception >> 
     
  
  Returns 
  
  retryableHttpCodes(ImmutableList<Integer> value) 
  
    
public   CloudStorageConfiguration . Builder   retryableHttpCodes ( ImmutableList<Integer>   value )  
  Parameter 
  
    
      
        Name Description  
      
        value com.google.common.collect.ImmutableList <Integer > 
     
  
  Returns 
  
  stripPrefixSlash(boolean value) 
  
    
public   CloudStorageConfiguration . Builder   stripPrefixSlash ( boolean   value )  
  Configures if the '/' prefix on absolute object names should be removed before I/O.
 
If you disable this feature, please take into consideration that all paths created from a
 URI will have the leading slash.
Parameter 
  
  Returns 
  
  usePseudoDirectories(boolean value) 
  
    
public   CloudStorageConfiguration . Builder   usePseudoDirectories ( boolean   value )  
  Configures if paths with a trailing slash should be treated as fake directories.
Parameter 
  
  Returns 
  
  userProject(String value) 
  
    
public   CloudStorageConfiguration . Builder   userProject ( String   value )  
  Parameter 
  
  Returns 
  
  workingDirectory(String path) 
  
    
public   CloudStorageConfiguration . Builder   workingDirectory ( String   path )  
  Changes current working directory for new filesystem. This defaults to the root directory.
 The working directory cannot be changed once it's been set. You'll need to create another
 CloudStorageFileSystem  object.
Parameter 
  
  Returns 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]