Class OsConfigServiceSettings.Builder (2.50.0)

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

Builder for OsConfigServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > OsConfigServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(OsConfigServiceSettings settings)

protected Builder(OsConfigServiceSettings settings)
Parameter
Name Description
settings OsConfigServiceSettings

Builder(OsConfigServiceStubSettings.Builder stubSettings)

protected Builder(OsConfigServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings OsConfigServiceStubSettings.Builder

Methods

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

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

build()

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

cancelPatchJobSettings()

public UnaryCallSettings.Builder<PatchJobs.CancelPatchJobRequest,PatchJobs.PatchJob> cancelPatchJobSettings()

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

Returns
Type Description
Builder<CancelPatchJobRequest,PatchJob>

createPatchDeploymentSettings()

public UnaryCallSettings.Builder<PatchDeployments.CreatePatchDeploymentRequest,PatchDeployments.PatchDeployment> createPatchDeploymentSettings()

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

Returns
Type Description
Builder<CreatePatchDeploymentRequest,PatchDeployment>

deletePatchDeploymentSettings()

public UnaryCallSettings.Builder<PatchDeployments.DeletePatchDeploymentRequest,Empty> deletePatchDeploymentSettings()

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

Returns
Type Description
Builder<DeletePatchDeploymentRequest,Empty>

executePatchJobSettings()

public UnaryCallSettings.Builder<PatchJobs.ExecutePatchJobRequest,PatchJobs.PatchJob> executePatchJobSettings()

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

Returns
Type Description
Builder<ExecutePatchJobRequest,PatchJob>

getPatchDeploymentSettings()

public UnaryCallSettings.Builder<PatchDeployments.GetPatchDeploymentRequest,PatchDeployments.PatchDeployment> getPatchDeploymentSettings()

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

Returns
Type Description
Builder<GetPatchDeploymentRequest,PatchDeployment>

getPatchJobSettings()

public UnaryCallSettings.Builder<PatchJobs.GetPatchJobRequest,PatchJobs.PatchJob> getPatchJobSettings()

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

Returns
Type Description
Builder<GetPatchJobRequest,PatchJob>

getStubSettingsBuilder()

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

listPatchDeploymentsSettings()

public PagedCallSettings.Builder<PatchDeployments.ListPatchDeploymentsRequest,PatchDeployments.ListPatchDeploymentsResponse,OsConfigServiceClient.ListPatchDeploymentsPagedResponse> listPatchDeploymentsSettings()

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

Returns
Type Description
Builder<ListPatchDeploymentsRequest,ListPatchDeploymentsResponse,ListPatchDeploymentsPagedResponse>

listPatchJobInstanceDetailsSettings()

public PagedCallSettings.Builder<PatchJobs.ListPatchJobInstanceDetailsRequest,PatchJobs.ListPatchJobInstanceDetailsResponse,OsConfigServiceClient.ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsSettings()

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

Returns
Type Description
Builder<ListPatchJobInstanceDetailsRequest,ListPatchJobInstanceDetailsResponse,ListPatchJobInstanceDetailsPagedResponse>

listPatchJobsSettings()

public PagedCallSettings.Builder<PatchJobs.ListPatchJobsRequest,PatchJobs.ListPatchJobsResponse,OsConfigServiceClient.ListPatchJobsPagedResponse> listPatchJobsSettings()

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

Returns
Type Description
Builder<ListPatchJobsRequest,ListPatchJobsResponse,ListPatchJobsPagedResponse>

pausePatchDeploymentSettings()

public UnaryCallSettings.Builder<PatchDeployments.PausePatchDeploymentRequest,PatchDeployments.PatchDeployment> pausePatchDeploymentSettings()

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

Returns
Type Description
Builder<PausePatchDeploymentRequest,PatchDeployment>

resumePatchDeploymentSettings()

public UnaryCallSettings.Builder<PatchDeployments.ResumePatchDeploymentRequest,PatchDeployments.PatchDeployment> resumePatchDeploymentSettings()

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

Returns
Type Description
Builder<ResumePatchDeploymentRequest,PatchDeployment>

updatePatchDeploymentSettings()

public UnaryCallSettings.Builder<PatchDeployments.UpdatePatchDeploymentRequest,PatchDeployments.PatchDeployment> updatePatchDeploymentSettings()

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

Returns
Type Description
Builder<UpdatePatchDeploymentRequest,PatchDeployment>