Package com.oracle.bmc.devops.requests
Class SummarizeProjectRepositoryAnalyticsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.requests.SummarizeProjectRepositoryAnalyticsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<SummarizeProjectRepositoryAnalyticsRequest,SummarizeProjectRepositoryAnalyticsDetails>
- Enclosing class:
- SummarizeProjectRepositoryAnalyticsRequest
public static class SummarizeProjectRepositoryAnalyticsRequest.Builder extends Object implements BmcRequest.Builder<SummarizeProjectRepositoryAnalyticsRequest,SummarizeProjectRepositoryAnalyticsDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SummarizeProjectRepositoryAnalyticsRequest.Builder
body$(SummarizeProjectRepositoryAnalyticsDetails body)
Alternative setter for the body parameter.SummarizeProjectRepositoryAnalyticsRequest
build()
Build the instance of SummarizeProjectRepositoryAnalyticsRequest as configured by this builderSummarizeProjectRepositoryAnalyticsRequest
buildWithoutInvocationCallback()
Build the instance of SummarizeProjectRepositoryAnalyticsRequest as configured by this builderSummarizeProjectRepositoryAnalyticsRequest.Builder
copy(SummarizeProjectRepositoryAnalyticsRequest o)
Copy method to populate the builder with values from the given instance.SummarizeProjectRepositoryAnalyticsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.SummarizeProjectRepositoryAnalyticsRequest.Builder
limit(Integer limit)
The maximum number of items to return.SummarizeProjectRepositoryAnalyticsRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.SummarizeProjectRepositoryAnalyticsRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.SummarizeProjectRepositoryAnalyticsRequest.Builder
projectId(String projectId)
Unique project identifier.SummarizeProjectRepositoryAnalyticsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.SummarizeProjectRepositoryAnalyticsRequest.Builder
summarizeProjectRepositoryAnalyticsDetails(SummarizeProjectRepositoryAnalyticsDetails summarizeProjectRepositoryAnalyticsDetails)
Details to fetch the repository analytics.
-
-
-
Method Detail
-
projectId
public SummarizeProjectRepositoryAnalyticsRequest.Builder projectId(String projectId)
Unique project identifier.- Parameters:
projectId
- the value to set- Returns:
- this builder instance
-
summarizeProjectRepositoryAnalyticsDetails
public SummarizeProjectRepositoryAnalyticsRequest.Builder summarizeProjectRepositoryAnalyticsDetails(SummarizeProjectRepositoryAnalyticsDetails summarizeProjectRepositoryAnalyticsDetails)
Details to fetch the repository analytics.- Parameters:
summarizeProjectRepositoryAnalyticsDetails
- the value to set- Returns:
- this builder instance
-
limit
public SummarizeProjectRepositoryAnalyticsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public SummarizeProjectRepositoryAnalyticsRequest.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 SummarizeProjectRepositoryAnalyticsRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, provide the request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public SummarizeProjectRepositoryAnalyticsRequest.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 SummarizeProjectRepositoryAnalyticsRequest.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 SummarizeProjectRepositoryAnalyticsRequest.Builder copy(SummarizeProjectRepositoryAnalyticsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<SummarizeProjectRepositoryAnalyticsRequest,SummarizeProjectRepositoryAnalyticsDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public SummarizeProjectRepositoryAnalyticsRequest build()
Build the instance of SummarizeProjectRepositoryAnalyticsRequest 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<SummarizeProjectRepositoryAnalyticsRequest,SummarizeProjectRepositoryAnalyticsDetails>
- Returns:
- instance of SummarizeProjectRepositoryAnalyticsRequest
-
body$
public SummarizeProjectRepositoryAnalyticsRequest.Builder body$(SummarizeProjectRepositoryAnalyticsDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<SummarizeProjectRepositoryAnalyticsRequest,SummarizeProjectRepositoryAnalyticsDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public SummarizeProjectRepositoryAnalyticsRequest buildWithoutInvocationCallback()
Build the instance of SummarizeProjectRepositoryAnalyticsRequest 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 SummarizeProjectRepositoryAnalyticsRequest
-
-