Package com.oracle.bmc.http
Class CrossTenancyRequestConfigurator
- java.lang.Object
- 
- com.oracle.bmc.http.CrossTenancyRequestConfigurator
 
- 
- All Implemented Interfaces:
- ClientConfigurator
 
 public class CrossTenancyRequestConfigurator extends Object implements ClientConfigurator A configurator that causes the client to set the cross-tenancy request header.
- 
- 
Constructor SummaryConstructors Constructor Description CrossTenancyRequestConfigurator(String[] authorizedTenancyIds)A configurator that sets the cross-tenancy request header, but otherwise behaves like theDefaultConnectorConfigurator.CrossTenancyRequestConfigurator(String[] authorizedTenancyIds, ClientConfigurator baseConfigurator)A configurator that sets the cross-tenancy request header, but otherwise behaves like the passed in configurator.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcustomizeClient(com.oracle.bmc.http.client.HttpClientBuilder builder)
 
- 
- 
- 
Constructor Detail- 
CrossTenancyRequestConfiguratorpublic CrossTenancyRequestConfigurator(String[] authorizedTenancyIds) A configurator that sets the cross-tenancy request header, but otherwise behaves like theDefaultConnectorConfigurator.- Parameters:
- authorizedTenancyIds- tenancy OCIDs that might be accessed by requests made by the client configured
 
 - 
CrossTenancyRequestConfiguratorpublic CrossTenancyRequestConfigurator(String[] authorizedTenancyIds, ClientConfigurator baseConfigurator) A configurator that sets the cross-tenancy request header, but otherwise behaves like the passed in configurator.- Parameters:
- authorizedTenancyIds- tenancy OCIDs that might be accessed by requests made by the client configured
- baseConfigurator- base configurator
 
 
- 
 - 
Method Detail- 
customizeClientpublic void customizeClient(com.oracle.bmc.http.client.HttpClientBuilder builder) - Specified by:
- customizeClientin interface- ClientConfigurator
 
 
- 
 
-