Class CloudControlsPartnerCoreSettings.Builder (0.19.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
Name Description
clientContext ClientContext

Builder(CloudControlsPartnerCoreSettings settings)

protected Builder(CloudControlsPartnerCoreSettings settings)
Parameter
Name Description
settings CloudControlsPartnerCoreSettings

Builder(CloudControlsPartnerCoreStubSettings.Builder stubSettings)

protected Builder(CloudControlsPartnerCoreStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings CloudControlsPartnerCoreStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
CloudControlsPartnerCoreSettings.Builder

build()

public CloudControlsPartnerCoreSettings build()
Returns
Type Description
CloudControlsPartnerCoreSettings
Overrides
Exceptions
Type Description
IOException

getCustomerSettings()

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

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

Returns
Type Description
Builder<GetCustomerRequest,Customer>

getEkmConnectionsSettings()

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

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

Returns
Type Description
Builder<GetEkmConnectionsRequest,EkmConnections>

getPartnerPermissionsSettings()

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

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

Returns
Type Description
Builder<GetPartnerPermissionsRequest,PartnerPermissions>

getPartnerSettings()

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

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

Returns
Type Description
Builder<GetPartnerRequest,Partner>

getStubSettingsBuilder()

public CloudControlsPartnerCoreStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
CloudControlsPartnerCoreStubSettings.Builder

getWorkloadSettings()

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

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

Returns
Type Description
Builder<GetWorkloadRequest,Workload>

listAccessApprovalRequestsSettings() (deprecated)

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

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
Type Description
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
Type Description
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
Type Description
Builder<ListWorkloadsRequest,ListWorkloadsResponse,ListWorkloadsPagedResponse>