Class InstanceConfigInfo.Builder (6.102.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 6.102.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   abstract   static   class  InstanceConfigInfo . Builder  
  Builder for InstanceConfigInfo.
Constructors
   
  Builder() 
  
  Methods
   
  addLabel(String key, String value) 
  
    
public   abstract   InstanceConfigInfo . Builder   addLabel ( String   key ,   String   value )  
  
  
  addReadOnlyReplicas(List<ReplicaInfo> readOnlyReplicas) 
  
    
public   abstract   InstanceConfigInfo . Builder   addReadOnlyReplicas ( List<ReplicaInfo>   readOnlyReplicas )  
  Adds the read only replicas to the set of replicas for a custom instance config. Called with
 one or more of the optional replicas of the base config.
build() 
  
    
public   abstract   InstanceConfigInfo   build ()  
  
  putAllLabels(Map<String,String> labels) 
  
    
public   abstract   InstanceConfigInfo . Builder   putAllLabels ( Map<String , String >  labels )  
  
  
  setBaseConfig(InstanceConfigInfo baseConfig) 
  
    
protected   abstract   InstanceConfigInfo . Builder   setBaseConfig ( InstanceConfigInfo   baseConfig )  
  
  
  setConfigType(InstanceConfigInfo.Type configType) 
  
    
protected   abstract   InstanceConfigInfo . Builder   setConfigType ( InstanceConfigInfo . Type   configType )  
  
  
  setDisplayName(String displayName) 
  
    
public   abstract   InstanceConfigInfo . Builder   setDisplayName ( String   displayName )  
  
    
      
        Parameter  
      
        Name Description  
      
        displayNameString  
     
  
  
  setEtag(String etag) 
  
    
public   abstract   InstanceConfigInfo . Builder   setEtag ( String   etag )  
  
    
      
        Parameter  
      
        Name Description  
      
        etagString  
     
  
  
  setLeaderOptions(List<String> leaderOptions) 
  
    
public   abstract   InstanceConfigInfo . Builder   setLeaderOptions ( List<String>   leaderOptions )  
  Sets the allowed values of the "default_leader" schema option for databases in instances that
 use this instance configuration.
    
      
        Parameter  
      
        Name Description  
      
        leaderOptionsList <String > 
     
  
  
  setOptionalReplicas(List<ReplicaInfo> optionalReplicas) 
  
    
protected   abstract   InstanceConfigInfo . Builder   setOptionalReplicas ( List<ReplicaInfo>   optionalReplicas )  
  
  
  setReconciling(boolean reconciling) 
  
    
protected   abstract   InstanceConfigInfo . Builder   setReconciling ( boolean   reconciling )  
  
    
      
        Parameter  
      
        Name Description  
      
        reconcilingboolean  
     
  
  
  setReplicas(List<ReplicaInfo> replicas) 
  
    
protected   abstract   InstanceConfigInfo . Builder   setReplicas ( List<ReplicaInfo>   replicas )  
  
  
  setState(InstanceConfigInfo.State state) 
  
    
protected   abstract   InstanceConfigInfo . Builder   setState ( InstanceConfigInfo . State   state )  
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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."],[],[]]