Package com.oracle.bmc.devops.requests
Class ListCommitsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.requests.ListCommitsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListCommitsRequest,Void>
- Enclosing class:
- ListCommitsRequest
public static class ListCommitsRequest.Builder extends Object implements BmcRequest.Builder<ListCommitsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListCommitsRequest.Builder
authorName(String authorName)
A filter to return any commits that are pushed by the requested author.ListCommitsRequest
build()
Build the instance of ListCommitsRequest as configured by this builderListCommitsRequest
buildWithoutInvocationCallback()
Build the instance of ListCommitsRequest as configured by this builderListCommitsRequest.Builder
commitMessage(String commitMessage)
A filter to return any commits that contains the given message.ListCommitsRequest.Builder
copy(ListCommitsRequest o)
Copy method to populate the builder with values from the given instance.ListCommitsRequest.Builder
excludeRefName(String excludeRefName)
A filter to exclude commits that match the given reference name.ListCommitsRequest.Builder
filePath(String filePath)
A filter to return only commits that affect any of the specified paths.ListCommitsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListCommitsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListCommitsRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.ListCommitsRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListCommitsRequest.Builder
refName(String refName)
A filter to return only resources that match the given reference name.ListCommitsRequest.Builder
repositoryId(String repositoryId)
Unique repository identifier.ListCommitsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListCommitsRequest.Builder
timestampGreaterThanOrEqualTo(Date timestampGreaterThanOrEqualTo)
A filter to return commits only created after the specified timestamp value.ListCommitsRequest.Builder
timestampLessThanOrEqualTo(Date timestampLessThanOrEqualTo)
A filter to return commits only created before the specified timestamp value.-
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
-
repositoryId
public ListCommitsRequest.Builder repositoryId(String repositoryId)
Unique repository identifier.- Parameters:
repositoryId
- the value to set- Returns:
- this builder instance
-
refName
public ListCommitsRequest.Builder refName(String refName)
A filter to return only resources that match the given reference name.- Parameters:
refName
- the value to set- Returns:
- this builder instance
-
excludeRefName
public ListCommitsRequest.Builder excludeRefName(String excludeRefName)
A filter to exclude commits that match the given reference name.- Parameters:
excludeRefName
- the value to set- Returns:
- this builder instance
-
filePath
public ListCommitsRequest.Builder filePath(String filePath)
A filter to return only commits that affect any of the specified paths.- Parameters:
filePath
- the value to set- Returns:
- this builder instance
-
timestampGreaterThanOrEqualTo
public ListCommitsRequest.Builder timestampGreaterThanOrEqualTo(Date timestampGreaterThanOrEqualTo)
A filter to return commits only created after the specified timestamp value.- Parameters:
timestampGreaterThanOrEqualTo
- the value to set- Returns:
- this builder instance
-
timestampLessThanOrEqualTo
public ListCommitsRequest.Builder timestampLessThanOrEqualTo(Date timestampLessThanOrEqualTo)
A filter to return commits only created before the specified timestamp value.- Parameters:
timestampLessThanOrEqualTo
- the value to set- Returns:
- this builder instance
-
commitMessage
public ListCommitsRequest.Builder commitMessage(String commitMessage)
A filter to return any commits that contains the given message.- Parameters:
commitMessage
- the value to set- Returns:
- this builder instance
-
authorName
public ListCommitsRequest.Builder authorName(String authorName)
A filter to return any commits that are pushed by the requested author.- Parameters:
authorName
- the value to set- Returns:
- this builder instance
-
limit
public ListCommitsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListCommitsRequest.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 ListCommitsRequest.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 ListCommitsRequest.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 ListCommitsRequest.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 ListCommitsRequest.Builder copy(ListCommitsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListCommitsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListCommitsRequest build()
Build the instance of ListCommitsRequest 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<ListCommitsRequest,Void>
- Returns:
- instance of ListCommitsRequest
-
buildWithoutInvocationCallback
public ListCommitsRequest buildWithoutInvocationCallback()
Build the instance of ListCommitsRequest 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 ListCommitsRequest
-
-