public static class ListStagesRequest.Builder extends Object implements BmcRequest.Builder<ListStagesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListStagesRequest |
build()
Build the instance of ListStagesRequest as configured by this builder
|
ListStagesRequest |
buildWithoutInvocationCallback()
Build the instance of ListStagesRequest as configured by this builder
|
ListStagesRequest.Builder |
copy(ListStagesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListStagesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListStagesRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListStagesRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListStagesRequest.Builder |
page(String page)
A token representing the position at which to start retrieving results.
|
ListStagesRequest.Builder |
remediationRunId(String remediationRunId)
Unique Remediation Run identifier path parameter.
|
ListStagesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListStagesRequest.Builder |
sortBy(ListStagesRequest.SortBy sortBy)
The field used to sort Stages.
|
ListStagesRequest.Builder |
sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
|
ListStagesRequest.Builder |
status(RemediationRunStage.Status status)
A filter to return only Stages that match the specified status.
|
ListStagesRequest.Builder |
type(RemediationRunStageType type)
A filter to return only Stages that match the specified type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListStagesRequest.Builder remediationRunId(String remediationRunId)
Unique Remediation Run identifier path parameter.
remediationRunId
- the value to setpublic ListStagesRequest.Builder type(RemediationRunStageType type)
A filter to return only Stages that match the specified type.
type
- the value to setpublic ListStagesRequest.Builder status(RemediationRunStage.Status status)
A filter to return only Stages that match the specified status.
status
- the value to setpublic ListStagesRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
sortOrder
- the value to setpublic ListStagesRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- the value to setpublic ListStagesRequest.Builder page(String page)
A token representing the position at which to start retrieving results. This must come
from the opc-next-page
header field of a previous response.
page
- the value to setpublic ListStagesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic ListStagesRequest.Builder sortBy(ListStagesRequest.SortBy sortBy)
The field used to sort Stages. Only one sort order is allowed. Default order for status is the following sequence: CREATED, IN_PROGRESS, SUCCEEDED, FAILED, CANCELING, and CANCELED. Default order for timeCreated is descending. Default order for timeFinished is descending. Default order for timeStarted is descending. Default order for type is the following sequence: DETECT, RECOMMEND, VERIFY, and APPLY.
sortBy
- the value to setpublic ListStagesRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListStagesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListStagesRequest.Builder copy(ListStagesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListStagesRequest,Void>
o
- other request from which to copy valuespublic ListStagesRequest build()
Build the instance of ListStagesRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListStagesRequest,Void>
public ListStagesRequest buildWithoutInvocationCallback()
Build the instance of ListStagesRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.