Class SecurityPostureStubSettings.Builder (0.1.0)

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

Builder for SecurityPostureStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SecurityPostureStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(SecurityPostureStubSettings settings)

protected Builder(SecurityPostureStubSettings settings)
Parameter
NameDescription
settingsSecurityPostureStubSettings

Methods

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

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

build()

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

createPostureDeploymentOperationSettings()

public OperationCallSettings.Builder<CreatePostureDeploymentRequest,PostureDeployment,OperationMetadata> createPostureDeploymentOperationSettings()

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

Returns
TypeDescription
Builder<CreatePostureDeploymentRequest,PostureDeployment,OperationMetadata>

createPostureDeploymentSettings()

public UnaryCallSettings.Builder<CreatePostureDeploymentRequest,Operation> createPostureDeploymentSettings()

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

Returns
TypeDescription
Builder<CreatePostureDeploymentRequest,Operation>

createPostureOperationSettings()

public OperationCallSettings.Builder<CreatePostureRequest,Posture,OperationMetadata> createPostureOperationSettings()

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

Returns
TypeDescription
Builder<CreatePostureRequest,Posture,OperationMetadata>

createPostureSettings()

public UnaryCallSettings.Builder<CreatePostureRequest,Operation> createPostureSettings()

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

Returns
TypeDescription
Builder<CreatePostureRequest,Operation>

deletePostureDeploymentOperationSettings()

public OperationCallSettings.Builder<DeletePostureDeploymentRequest,Empty,OperationMetadata> deletePostureDeploymentOperationSettings()

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

Returns
TypeDescription
Builder<DeletePostureDeploymentRequest,Empty,OperationMetadata>

deletePostureDeploymentSettings()

public UnaryCallSettings.Builder<DeletePostureDeploymentRequest,Operation> deletePostureDeploymentSettings()

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

Returns
TypeDescription
Builder<DeletePostureDeploymentRequest,Operation>

deletePostureOperationSettings()

public OperationCallSettings.Builder<DeletePostureRequest,Empty,OperationMetadata> deletePostureOperationSettings()

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

Returns
TypeDescription
Builder<DeletePostureRequest,Empty,OperationMetadata>

deletePostureSettings()

public UnaryCallSettings.Builder<DeletePostureRequest,Operation> deletePostureSettings()

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

Returns
TypeDescription
Builder<DeletePostureRequest,Operation>

extractPostureOperationSettings()

public OperationCallSettings.Builder<ExtractPostureRequest,Posture,OperationMetadata> extractPostureOperationSettings()

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

Returns
TypeDescription
Builder<ExtractPostureRequest,Posture,OperationMetadata>

extractPostureSettings()

public UnaryCallSettings.Builder<ExtractPostureRequest,Operation> extractPostureSettings()

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

Returns
TypeDescription
Builder<ExtractPostureRequest,Operation>

getEndpoint()

public String getEndpoint()

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

Returns
TypeDescription
String
Overrides

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getPostureDeploymentSettings()

public UnaryCallSettings.Builder<GetPostureDeploymentRequest,PostureDeployment> getPostureDeploymentSettings()

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

Returns
TypeDescription
Builder<GetPostureDeploymentRequest,PostureDeployment>

getPostureSettings()

public UnaryCallSettings.Builder<GetPostureRequest,Posture> getPostureSettings()

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

Returns
TypeDescription
Builder<GetPostureRequest,Posture>

getPostureTemplateSettings()

public UnaryCallSettings.Builder<GetPostureTemplateRequest,PostureTemplate> getPostureTemplateSettings()

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

Returns
TypeDescription
Builder<GetPostureTemplateRequest,PostureTemplate>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,SecurityPostureClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listPostureDeploymentsSettings()

public PagedCallSettings.Builder<ListPostureDeploymentsRequest,ListPostureDeploymentsResponse,SecurityPostureClient.ListPostureDeploymentsPagedResponse> listPostureDeploymentsSettings()

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

Returns
TypeDescription
Builder<ListPostureDeploymentsRequest,ListPostureDeploymentsResponse,ListPostureDeploymentsPagedResponse>

listPostureRevisionsSettings()

public PagedCallSettings.Builder<ListPostureRevisionsRequest,ListPostureRevisionsResponse,SecurityPostureClient.ListPostureRevisionsPagedResponse> listPostureRevisionsSettings()

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

Returns
TypeDescription
Builder<ListPostureRevisionsRequest,ListPostureRevisionsResponse,ListPostureRevisionsPagedResponse>

listPostureTemplatesSettings()

public PagedCallSettings.Builder<ListPostureTemplatesRequest,ListPostureTemplatesResponse,SecurityPostureClient.ListPostureTemplatesPagedResponse> listPostureTemplatesSettings()

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

Returns
TypeDescription
Builder<ListPostureTemplatesRequest,ListPostureTemplatesResponse,ListPostureTemplatesPagedResponse>

listPosturesSettings()

public PagedCallSettings.Builder<ListPosturesRequest,ListPosturesResponse,SecurityPostureClient.ListPosturesPagedResponse> listPosturesSettings()

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

Returns
TypeDescription
Builder<ListPosturesRequest,ListPosturesResponse,ListPosturesPagedResponse>

unaryMethodSettingsBuilders()

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

updatePostureDeploymentOperationSettings()

public OperationCallSettings.Builder<UpdatePostureDeploymentRequest,PostureDeployment,OperationMetadata> updatePostureDeploymentOperationSettings()

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

Returns
TypeDescription
Builder<UpdatePostureDeploymentRequest,PostureDeployment,OperationMetadata>

updatePostureDeploymentSettings()

public UnaryCallSettings.Builder<UpdatePostureDeploymentRequest,Operation> updatePostureDeploymentSettings()

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

Returns
TypeDescription
Builder<UpdatePostureDeploymentRequest,Operation>

updatePostureOperationSettings()

public OperationCallSettings.Builder<UpdatePostureRequest,Posture,OperationMetadata> updatePostureOperationSettings()

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

Returns
TypeDescription
Builder<UpdatePostureRequest,Posture,OperationMetadata>

updatePostureSettings()

public UnaryCallSettings.Builder<UpdatePostureRequest,Operation> updatePostureSettings()

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

Returns
TypeDescription
Builder<UpdatePostureRequest,Operation>