Class SummarizeManagementAgentCountsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.managementagent.requests.SummarizeManagementAgentCountsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<SummarizeManagementAgentCountsRequest,Void>
- Enclosing class:
- SummarizeManagementAgentCountsRequest
public static class SummarizeManagementAgentCountsRequest.Builder extends Object implements BmcRequest.Builder<SummarizeManagementAgentCountsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SummarizeManagementAgentCountsRequestbuild()Build the instance of SummarizeManagementAgentCountsRequest as configured by this builderSummarizeManagementAgentCountsRequestbuildWithoutInvocationCallback()Build the instance of SummarizeManagementAgentCountsRequest as configured by this builderSummarizeManagementAgentCountsRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment to which a request will be scoped.SummarizeManagementAgentCountsRequest.BuildercompartmentIdInSubtree(Boolean compartmentIdInSubtree)if set to true then it fetches resources for all compartments where user has access to else only on the compartment specified.SummarizeManagementAgentCountsRequest.Buildercopy(SummarizeManagementAgentCountsRequest o)Copy method to populate the builder with values from the given instance.SummarizeManagementAgentCountsRequest.BuildergroupBy(ManagementAgentGroupBy singularValue)Singular setter.SummarizeManagementAgentCountsRequest.BuildergroupBy(List<ManagementAgentGroupBy> groupBy)The field by which to group Management Agents.SummarizeManagementAgentCountsRequest.BuilderhasPlugins(Boolean hasPlugins)When set to true then agents that have at least one plugin deployed will be returned.SummarizeManagementAgentCountsRequest.BuilderinstallType(InstallTypes installType)A filter to return either agents or gateway types depending upon install type selected by user.SummarizeManagementAgentCountsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.SummarizeManagementAgentCountsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.SummarizeManagementAgentCountsRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.SummarizeManagementAgentCountsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
compartmentId
public SummarizeManagementAgentCountsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment to which a request will be scoped.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
groupBy
public SummarizeManagementAgentCountsRequest.Builder groupBy(List<ManagementAgentGroupBy> groupBy)
The field by which to group Management Agents.Currently, only one groupBy dimension is supported at a time.
- Parameters:
groupBy- the value to set- Returns:
- this builder instance
-
groupBy
public SummarizeManagementAgentCountsRequest.Builder groupBy(ManagementAgentGroupBy singularValue)
Singular setter.The field by which to group Management Agents. Currently, only one groupBy dimension is supported at a time.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
hasPlugins
public SummarizeManagementAgentCountsRequest.Builder hasPlugins(Boolean hasPlugins)
When set to true then agents that have at least one plugin deployed will be returned.When set to false only agents that have no plugins deployed will be returned.
- Parameters:
hasPlugins- the value to set- Returns:
- this builder instance
-
installType
public SummarizeManagementAgentCountsRequest.Builder installType(InstallTypes installType)
A filter to return either agents or gateway types depending upon install type selected by user.By default both install type will be returned.
- Parameters:
installType- the value to set- Returns:
- this builder instance
-
compartmentIdInSubtree
public SummarizeManagementAgentCountsRequest.Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree)
if set to true then it fetches resources for all compartments where user has access to else only on the compartment specified.- Parameters:
compartmentIdInSubtree- the value to set- Returns:
- this builder instance
-
page
public SummarizeManagementAgentCountsRequest.Builder page(String page)
The page token representing the page at which to start retrieving results.This is usually retrieved from a previous list call.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
opcRequestId
public SummarizeManagementAgentCountsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public SummarizeManagementAgentCountsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public SummarizeManagementAgentCountsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public SummarizeManagementAgentCountsRequest.Builder copy(SummarizeManagementAgentCountsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<SummarizeManagementAgentCountsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public SummarizeManagementAgentCountsRequest build()
Build the instance of SummarizeManagementAgentCountsRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance.
- Specified by:
buildin interfaceBmcRequest.Builder<SummarizeManagementAgentCountsRequest,Void>- Returns:
- instance of SummarizeManagementAgentCountsRequest
-
buildWithoutInvocationCallback
public SummarizeManagementAgentCountsRequest buildWithoutInvocationCallback()
Build the instance of SummarizeManagementAgentCountsRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of SummarizeManagementAgentCountsRequest
-
-