public static class ListHttpRedirectsRequest.Builder extends Object implements BmcRequest.Builder<ListHttpRedirectsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListHttpRedirectsRequest |
build()
Build the instance of ListHttpRedirectsRequest as configured by this builder
|
ListHttpRedirectsRequest |
buildWithoutInvocationCallback()
Build the instance of ListHttpRedirectsRequest as configured by this builder
|
ListHttpRedirectsRequest.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment.
|
ListHttpRedirectsRequest.Builder |
copy(ListHttpRedirectsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListHttpRedirectsRequest.Builder |
displayName(List<String> displayName)
Filter redirects using a display name.
|
ListHttpRedirectsRequest.Builder |
displayName(String singularValue)
Singular setter.
|
ListHttpRedirectsRequest.Builder |
id(List<String> id)
Filter redirects using a list of redirect OCIDs.
|
ListHttpRedirectsRequest.Builder |
id(String singularValue)
Singular setter.
|
ListHttpRedirectsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListHttpRedirectsRequest.Builder |
lifecycleState(LifecycleStates singularValue)
Singular setter.
|
ListHttpRedirectsRequest.Builder |
lifecycleState(List<LifecycleStates> lifecycleState)
Filter redirects using a list of lifecycle states.
|
ListHttpRedirectsRequest.Builder |
limit(Integer limit)
The maximum number of items to return in a paginated call.
|
ListHttpRedirectsRequest.Builder |
opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.
|
ListHttpRedirectsRequest.Builder |
page(String page)
The value of the
opc-next-page response header from the previous paginated call. |
ListHttpRedirectsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListHttpRedirectsRequest.Builder |
sortBy(ListHttpRedirectsRequest.SortBy sortBy)
The field to sort the results of the List query.
|
ListHttpRedirectsRequest.Builder |
sortOrder(ListHttpRedirectsRequest.SortOrder sortOrder)
The value of the sorting direction of resources in a paginated ‘List’ call.
|
ListHttpRedirectsRequest.Builder |
timeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)
A filter that matches redirects created on or after the specified date and time.
|
ListHttpRedirectsRequest.Builder |
timeCreatedLessThan(Date timeCreatedLessThan)
A filter that matches redirects created before the specified date-time.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListHttpRedirectsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment. This number is generated when the compartment is created.
compartmentId
- the value to setpublic ListHttpRedirectsRequest.Builder opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
opcRequestId
- the value to setpublic ListHttpRedirectsRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated call. If unspecified, defaults to
10
.
limit
- the value to setpublic ListHttpRedirectsRequest.Builder page(String page)
The value of the opc-next-page
response header from the previous paginated call.
page
- the value to setpublic ListHttpRedirectsRequest.Builder sortOrder(ListHttpRedirectsRequest.SortOrder sortOrder)
The value of the sorting direction of resources in a paginated ‘List’ call. If
unspecified, defaults to DESC
.
sortOrder
- the value to setpublic ListHttpRedirectsRequest.Builder sortBy(ListHttpRedirectsRequest.SortBy sortBy)
The field to sort the results of the List query.
sortBy
- the value to setpublic ListHttpRedirectsRequest.Builder id(List<String> id)
Filter redirects using a list of redirect OCIDs.
id
- the value to setpublic ListHttpRedirectsRequest.Builder id(String singularValue)
Singular setter. Filter redirects using a list of redirect OCIDs.
singularValue
- the singular value to setpublic ListHttpRedirectsRequest.Builder displayName(List<String> displayName)
Filter redirects using a display name.
displayName
- the value to setpublic ListHttpRedirectsRequest.Builder displayName(String singularValue)
Singular setter. Filter redirects using a display name.
singularValue
- the singular value to setpublic ListHttpRedirectsRequest.Builder lifecycleState(List<LifecycleStates> lifecycleState)
Filter redirects using a list of lifecycle states.
lifecycleState
- the value to setpublic ListHttpRedirectsRequest.Builder lifecycleState(LifecycleStates singularValue)
Singular setter. Filter redirects using a list of lifecycle states.
singularValue
- the singular value to setpublic ListHttpRedirectsRequest.Builder timeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)
A filter that matches redirects created on or after the specified date and time.
timeCreatedGreaterThanOrEqualTo
- the value to setpublic ListHttpRedirectsRequest.Builder timeCreatedLessThan(Date timeCreatedLessThan)
A filter that matches redirects created before the specified date-time. Default to 1 day before now.
timeCreatedLessThan
- the value to setpublic ListHttpRedirectsRequest.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 ListHttpRedirectsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListHttpRedirectsRequest.Builder copy(ListHttpRedirectsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListHttpRedirectsRequest,Void>
o
- other request from which to copy valuespublic ListHttpRedirectsRequest build()
Build the instance of ListHttpRedirectsRequest 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<ListHttpRedirectsRequest,Void>
public ListHttpRedirectsRequest buildWithoutInvocationCallback()
Build the instance of ListHttpRedirectsRequest 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–2023. All rights reserved.