Package com.oracle.bmc.devops.requests
Class ListBuildRunSnapshotsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.requests.ListBuildRunSnapshotsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListBuildRunSnapshotsRequest,Void>
- Enclosing class:
- ListBuildRunSnapshotsRequest
public static class ListBuildRunSnapshotsRequest.Builder extends Object implements BmcRequest.Builder<ListBuildRunSnapshotsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListBuildRunSnapshotsRequestbuild()Build the instance of ListBuildRunSnapshotsRequest as configured by this builderListBuildRunSnapshotsRequest.BuilderbuildRunId(String buildRunId)Unique build run identifier.ListBuildRunSnapshotsRequestbuildWithoutInvocationCallback()Build the instance of ListBuildRunSnapshotsRequest as configured by this builderListBuildRunSnapshotsRequest.BuildercommitId(String commitId)Commit ID in a repository.ListBuildRunSnapshotsRequest.Buildercopy(ListBuildRunSnapshotsRequest o)Copy method to populate the builder with values from the given instance.ListBuildRunSnapshotsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListBuildRunSnapshotsRequest.Builderlimit(Integer limit)The maximum number of items to return.ListBuildRunSnapshotsRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ListBuildRunSnapshotsRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListBuildRunSnapshotsRequest.BuilderpipelineId(String pipelineId)Unique build pipeline identifier.ListBuildRunSnapshotsRequest.BuilderpullRequestId(String pullRequestId)unique PullRequest identifierListBuildRunSnapshotsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListBuildRunSnapshotsRequest.BuildersortBy(ListBuildRunSnapshotsRequest.SortBy sortBy)The field to sort by.ListBuildRunSnapshotsRequest.BuildersortOrder(SortOrder sortOrder)The sort order to use.-
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
-
pullRequestId
public ListBuildRunSnapshotsRequest.Builder pullRequestId(String pullRequestId)
unique PullRequest identifier- Parameters:
pullRequestId- the value to set- Returns:
- this builder instance
-
pipelineId
public ListBuildRunSnapshotsRequest.Builder pipelineId(String pipelineId)
Unique build pipeline identifier.- Parameters:
pipelineId- the value to set- Returns:
- this builder instance
-
buildRunId
public ListBuildRunSnapshotsRequest.Builder buildRunId(String buildRunId)
Unique build run identifier.- Parameters:
buildRunId- the value to set- Returns:
- this builder instance
-
commitId
public ListBuildRunSnapshotsRequest.Builder commitId(String commitId)
Commit ID in a repository.- Parameters:
commitId- the value to set- Returns:
- this builder instance
-
limit
public ListBuildRunSnapshotsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListBuildRunSnapshotsRequest.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
-
sortOrder
public ListBuildRunSnapshotsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use.Use either ascending or descending.
- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
sortBy
public ListBuildRunSnapshotsRequest.Builder sortBy(ListBuildRunSnapshotsRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. Default order for time created is descending. Default order for name is ascending. If no value is specified time created is default.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListBuildRunSnapshotsRequest.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 ListBuildRunSnapshotsRequest.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 ListBuildRunSnapshotsRequest.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 ListBuildRunSnapshotsRequest.Builder copy(ListBuildRunSnapshotsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListBuildRunSnapshotsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListBuildRunSnapshotsRequest build()
Build the instance of ListBuildRunSnapshotsRequest 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<ListBuildRunSnapshotsRequest,Void>- Returns:
- instance of ListBuildRunSnapshotsRequest
-
buildWithoutInvocationCallback
public ListBuildRunSnapshotsRequest buildWithoutInvocationCallback()
Build the instance of ListBuildRunSnapshotsRequest 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 ListBuildRunSnapshotsRequest
-
-