Class NodeGroupsSettings.Builder (1.43.0)

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

Builder for NodeGroupsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > NodeGroupsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(NodeGroupsSettings settings)

protected Builder(NodeGroupsSettings settings)
Parameter
NameDescription
settingsNodeGroupsSettings

Builder(NodeGroupsStubSettings.Builder stubSettings)

protected Builder(NodeGroupsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsNodeGroupsStubSettings.Builder

Methods

addNodesOperationSettings()

public OperationCallSettings.Builder<AddNodesNodeGroupRequest,Operation,Operation> addNodesOperationSettings()

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

addNodesSettings()

public UnaryCallSettings.Builder<AddNodesNodeGroupRequest,Operation> addNodesSettings()

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

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListNodeGroupsRequest,NodeGroupAggregatedList,NodeGroupsClient.AggregatedListPagedResponse> aggregatedListSettings()

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

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

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

build()

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

deleteNodesOperationSettings()

public OperationCallSettings.Builder<DeleteNodesNodeGroupRequest,Operation,Operation> deleteNodesOperationSettings()

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

deleteNodesSettings()

public UnaryCallSettings.Builder<DeleteNodesNodeGroupRequest,Operation> deleteNodesSettings()

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

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteNodeGroupRequest,Operation,Operation> deleteOperationSettings()

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

deleteSettings()

public UnaryCallSettings.Builder<DeleteNodeGroupRequest,Operation> deleteSettings()

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

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyNodeGroupRequest,Policy> getIamPolicySettings()

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

getSettings()

public UnaryCallSettings.Builder<GetNodeGroupRequest,NodeGroup> getSettings()

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

Returns
TypeDescription
Builder<GetNodeGroupRequest,NodeGroup>

getStubSettingsBuilder()

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

insertOperationSettings()

public OperationCallSettings.Builder<InsertNodeGroupRequest,Operation,Operation> insertOperationSettings()

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

insertSettings()

public UnaryCallSettings.Builder<InsertNodeGroupRequest,Operation> insertSettings()

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

listNodesSettings()

public PagedCallSettings.Builder<ListNodesNodeGroupsRequest,NodeGroupsListNodes,NodeGroupsClient.ListNodesPagedResponse> listNodesSettings()

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

listSettings()

public PagedCallSettings.Builder<ListNodeGroupsRequest,NodeGroupList,NodeGroupsClient.ListPagedResponse> listSettings()

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

patchOperationSettings()

public OperationCallSettings.Builder<PatchNodeGroupRequest,Operation,Operation> patchOperationSettings()

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

patchSettings()

public UnaryCallSettings.Builder<PatchNodeGroupRequest,Operation> patchSettings()

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

Returns
TypeDescription
Builder<PatchNodeGroupRequest,Operation>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyNodeGroupRequest,Policy> setIamPolicySettings()

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

setNodeTemplateOperationSettings()

public OperationCallSettings.Builder<SetNodeTemplateNodeGroupRequest,Operation,Operation> setNodeTemplateOperationSettings()

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

setNodeTemplateSettings()

public UnaryCallSettings.Builder<SetNodeTemplateNodeGroupRequest,Operation> setNodeTemplateSettings()

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

simulateMaintenanceEventOperationSettings()

public OperationCallSettings.Builder<SimulateMaintenanceEventNodeGroupRequest,Operation,Operation> simulateMaintenanceEventOperationSettings()

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

simulateMaintenanceEventSettings()

public UnaryCallSettings.Builder<SimulateMaintenanceEventNodeGroupRequest,Operation> simulateMaintenanceEventSettings()

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

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsNodeGroupRequest,TestPermissionsResponse> testIamPermissionsSettings()

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