Class CloudControlsPartnerCoreSettings.Builder (0.4.0)

public static class CloudControlsPartnerCoreSettings.Builder extends ClientSettings.Builder<CloudControlsPartnerCoreSettings,CloudControlsPartnerCoreSettings.Builder>

Builder for CloudControlsPartnerCoreSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > CloudControlsPartnerCoreSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(CloudControlsPartnerCoreSettings settings)

protected Builder(CloudControlsPartnerCoreSettings settings)
Parameter
NameDescription
settingsCloudControlsPartnerCoreSettings

Builder(CloudControlsPartnerCoreStubSettings.Builder stubSettings)

protected Builder(CloudControlsPartnerCoreStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsCloudControlsPartnerCoreStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public CloudControlsPartnerCoreSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
CloudControlsPartnerCoreSettings.Builder

build()

public CloudControlsPartnerCoreSettings build()
Returns
TypeDescription
CloudControlsPartnerCoreSettings
Overrides
Exceptions
TypeDescription
IOException

getCustomerSettings()

public UnaryCallSettings.Builder<GetCustomerRequest,Customer> getCustomerSettings()

Returns the builder for the settings used for calls to getCustomer.

Returns
TypeDescription
Builder<GetCustomerRequest,Customer>

getEkmConnectionsSettings()

public UnaryCallSettings.Builder<GetEkmConnectionsRequest,EkmConnections> getEkmConnectionsSettings()

Returns the builder for the settings used for calls to getEkmConnections.

Returns
TypeDescription
Builder<GetEkmConnectionsRequest,EkmConnections>

getPartnerPermissionsSettings()

public UnaryCallSettings.Builder<GetPartnerPermissionsRequest,PartnerPermissions> getPartnerPermissionsSettings()

Returns the builder for the settings used for calls to getPartnerPermissions.

Returns
TypeDescription
Builder<GetPartnerPermissionsRequest,PartnerPermissions>

getPartnerSettings()

public UnaryCallSettings.Builder<GetPartnerRequest,Partner> getPartnerSettings()

Returns the builder for the settings used for calls to getPartner.

Returns
TypeDescription
Builder<GetPartnerRequest,Partner>

getStubSettingsBuilder()

public CloudControlsPartnerCoreStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
CloudControlsPartnerCoreStubSettings.Builder

getWorkloadSettings()

public UnaryCallSettings.Builder<GetWorkloadRequest,Workload> getWorkloadSettings()

Returns the builder for the settings used for calls to getWorkload.

Returns
TypeDescription
Builder<GetWorkloadRequest,Workload>

listAccessApprovalRequestsSettings()

public PagedCallSettings.Builder<ListAccessApprovalRequestsRequest,ListAccessApprovalRequestsResponse,CloudControlsPartnerCoreClient.ListAccessApprovalRequestsPagedResponse> listAccessApprovalRequestsSettings()

Returns the builder for the settings used for calls to listAccessApprovalRequests.

Returns
TypeDescription
Builder<ListAccessApprovalRequestsRequest,ListAccessApprovalRequestsResponse,ListAccessApprovalRequestsPagedResponse>

listCustomersSettings()

public PagedCallSettings.Builder<ListCustomersRequest,ListCustomersResponse,CloudControlsPartnerCoreClient.ListCustomersPagedResponse> listCustomersSettings()

Returns the builder for the settings used for calls to listCustomers.

Returns
TypeDescription
Builder<ListCustomersRequest,ListCustomersResponse,ListCustomersPagedResponse>

listWorkloadsSettings()

public PagedCallSettings.Builder<ListWorkloadsRequest,ListWorkloadsResponse,CloudControlsPartnerCoreClient.ListWorkloadsPagedResponse> listWorkloadsSettings()

Returns the builder for the settings used for calls to listWorkloads.

Returns
TypeDescription
Builder<ListWorkloadsRequest,ListWorkloadsResponse,ListWorkloadsPagedResponse>