Package com.oracle.bmc.jms.requests
Class SummarizeResourceInventoryRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.requests.SummarizeResourceInventoryRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<SummarizeResourceInventoryRequest,Void>
- Enclosing class:
- SummarizeResourceInventoryRequest
public static class SummarizeResourceInventoryRequest.Builder extends Object implements BmcRequest.Builder<SummarizeResourceInventoryRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SummarizeResourceInventoryRequest
build()
Build the instance of SummarizeResourceInventoryRequest as configured by this builderSummarizeResourceInventoryRequest
buildWithoutInvocationCallback()
Build the instance of SummarizeResourceInventoryRequest as configured by this builderSummarizeResourceInventoryRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment in which to list resources.SummarizeResourceInventoryRequest.Builder
compartmentIdInSubtree(Boolean compartmentIdInSubtree)
Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.SummarizeResourceInventoryRequest.Builder
copy(SummarizeResourceInventoryRequest o)
Copy method to populate the builder with values from the given instance.SummarizeResourceInventoryRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.SummarizeResourceInventoryRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.SummarizeResourceInventoryRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.SummarizeResourceInventoryRequest.Builder
timeEnd(Date timeEnd)
The end of the time period during which resources are searched (formatted according to RFC3339).SummarizeResourceInventoryRequest.Builder
timeStart(Date timeStart)
The start of the time period during which resources are searched (formatted according to RFC3339).-
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 SummarizeResourceInventoryRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment in which to list resources.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
compartmentIdInSubtree
public SummarizeResourceInventoryRequest.Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree)
Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.- Parameters:
compartmentIdInSubtree
- the value to set- Returns:
- this builder instance
-
timeStart
public SummarizeResourceInventoryRequest.Builder timeStart(Date timeStart)
The start of the time period during which resources are searched (formatted according to RFC3339).- Parameters:
timeStart
- the value to set- Returns:
- this builder instance
-
timeEnd
public SummarizeResourceInventoryRequest.Builder timeEnd(Date timeEnd)
The end of the time period during which resources are searched (formatted according to RFC3339).- Parameters:
timeEnd
- the value to set- Returns:
- this builder instance
-
opcRequestId
public SummarizeResourceInventoryRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public SummarizeResourceInventoryRequest.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 SummarizeResourceInventoryRequest.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 SummarizeResourceInventoryRequest.Builder copy(SummarizeResourceInventoryRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<SummarizeResourceInventoryRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public SummarizeResourceInventoryRequest build()
Build the instance of SummarizeResourceInventoryRequest 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:
build
in interfaceBmcRequest.Builder<SummarizeResourceInventoryRequest,Void>
- Returns:
- instance of SummarizeResourceInventoryRequest
-
buildWithoutInvocationCallback
public SummarizeResourceInventoryRequest buildWithoutInvocationCallback()
Build the instance of SummarizeResourceInventoryRequest 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 SummarizeResourceInventoryRequest
-
-