Class CloudControlsPartnerCoreStubSettings.Builder (0.4.0)

public static class CloudControlsPartnerCoreStubSettings.Builder extends StubSettings.Builder<CloudControlsPartnerCoreStubSettings,CloudControlsPartnerCoreStubSettings.Builder>

Builder for CloudControlsPartnerCoreStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > CloudControlsPartnerCoreStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(CloudControlsPartnerCoreStubSettings settings)

protected Builder(CloudControlsPartnerCoreStubSettings settings)
Parameter
NameDescription
settingsCloudControlsPartnerCoreStubSettings

Methods

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

public CloudControlsPartnerCoreStubSettings.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
CloudControlsPartnerCoreStubSettings.Builder

build()

public CloudControlsPartnerCoreStubSettings build()
Returns
TypeDescription
CloudControlsPartnerCoreStubSettings
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>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>