Class OsConfigServiceSettings.Builder (2.35.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
NameDescription
clientContextClientContext

Builder(OsConfigServiceSettings settings)

protected Builder(OsConfigServiceSettings settings)
Parameter
NameDescription
settingsOsConfigServiceSettings

Builder(OsConfigServiceStubSettings.Builder stubSettings)

protected Builder(OsConfigServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsOsConfigServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
OsConfigServiceSettings.Builder

build()

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

cancelPatchJobSettings()

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

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

Returns
TypeDescription
Builder<CancelPatchJobRequest,PatchJob>

createGuestPolicySettings()

public UnaryCallSettings.Builder<GuestPolicies.CreateGuestPolicyRequest,GuestPolicies.GuestPolicy> createGuestPolicySettings()

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

Returns
TypeDescription
Builder<CreateGuestPolicyRequest,GuestPolicy>

createPatchDeploymentSettings()

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

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

Returns
TypeDescription
Builder<CreatePatchDeploymentRequest,PatchDeployment>

deleteGuestPolicySettings()

public UnaryCallSettings.Builder<GuestPolicies.DeleteGuestPolicyRequest,Empty> deleteGuestPolicySettings()

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

Returns
TypeDescription
Builder<DeleteGuestPolicyRequest,Empty>

deletePatchDeploymentSettings()

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

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

Returns
TypeDescription
Builder<DeletePatchDeploymentRequest,Empty>

executePatchJobSettings()

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

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

Returns
TypeDescription
Builder<ExecutePatchJobRequest,PatchJob>

getGuestPolicySettings()

public UnaryCallSettings.Builder<GuestPolicies.GetGuestPolicyRequest,GuestPolicies.GuestPolicy> getGuestPolicySettings()

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

Returns
TypeDescription
Builder<GetGuestPolicyRequest,GuestPolicy>

getPatchDeploymentSettings()

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

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

Returns
TypeDescription
Builder<GetPatchDeploymentRequest,PatchDeployment>

getPatchJobSettings()

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

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

Returns
TypeDescription
Builder<GetPatchJobRequest,PatchJob>

getStubSettingsBuilder()

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

listGuestPoliciesSettings()

public PagedCallSettings.Builder<GuestPolicies.ListGuestPoliciesRequest,GuestPolicies.ListGuestPoliciesResponse,OsConfigServiceClient.ListGuestPoliciesPagedResponse> listGuestPoliciesSettings()

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

Returns
TypeDescription
Builder<ListGuestPoliciesRequest,ListGuestPoliciesResponse,ListGuestPoliciesPagedResponse>

listPatchDeploymentsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListPatchJobsRequest,ListPatchJobsResponse,ListPatchJobsPagedResponse>

lookupEffectiveGuestPolicySettings()

public UnaryCallSettings.Builder<GuestPolicies.LookupEffectiveGuestPolicyRequest,GuestPolicies.EffectiveGuestPolicy> lookupEffectiveGuestPolicySettings()

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

Returns
TypeDescription
Builder<LookupEffectiveGuestPolicyRequest,EffectiveGuestPolicy>

pausePatchDeploymentSettings()

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

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

Returns
TypeDescription
Builder<PausePatchDeploymentRequest,PatchDeployment>

resumePatchDeploymentSettings()

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

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

Returns
TypeDescription
Builder<ResumePatchDeploymentRequest,PatchDeployment>

updateGuestPolicySettings()

public UnaryCallSettings.Builder<GuestPolicies.UpdateGuestPolicyRequest,GuestPolicies.GuestPolicy> updateGuestPolicySettings()

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

Returns
TypeDescription
Builder<UpdateGuestPolicyRequest,GuestPolicy>

updatePatchDeploymentSettings()

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

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

Returns
TypeDescription
Builder<UpdatePatchDeploymentRequest,PatchDeployment>