Class SecurityPostureSettings.Builder (0.4.0)

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

Builder for SecurityPostureSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > SecurityPostureSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(SecurityPostureSettings settings)

protected Builder(SecurityPostureSettings settings)
Parameter
NameDescription
settingsSecurityPostureSettings

Builder(SecurityPostureStubSettings.Builder stubSettings)

protected Builder(SecurityPostureStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsSecurityPostureStubSettings.Builder

Methods

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

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

build()

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

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>

getStubSettingsBuilder()

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

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>

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>