Package com.oracle.bmc.dns.requests
Class ListSteeringPoliciesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dns.requests.ListSteeringPoliciesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListSteeringPoliciesRequest,Void>
- Enclosing class:
- ListSteeringPoliciesRequest
public static class ListSteeringPoliciesRequest.Builder extends Object implements BmcRequest.Builder<ListSteeringPoliciesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSteeringPoliciesRequest
build()
Build the instance of ListSteeringPoliciesRequest as configured by this builderListSteeringPoliciesRequest
buildWithoutInvocationCallback()
Build the instance of ListSteeringPoliciesRequest as configured by this builderListSteeringPoliciesRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment the resource belongs to.ListSteeringPoliciesRequest.Builder
copy(ListSteeringPoliciesRequest o)
Copy method to populate the builder with values from the given instance.ListSteeringPoliciesRequest.Builder
displayName(String displayName)
The displayName of a resource.ListSteeringPoliciesRequest.Builder
displayNameContains(String displayNameContains)
The partial displayName of a resource.ListSteeringPoliciesRequest.Builder
healthCheckMonitorId(String healthCheckMonitorId)
Search by health check monitor OCID.ListSteeringPoliciesRequest.Builder
id(String id)
The OCID of a resource.ListSteeringPoliciesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListSteeringPoliciesRequest.Builder
lifecycleState(SteeringPolicySummary.LifecycleState lifecycleState)
The state of a resource.ListSteeringPoliciesRequest.Builder
limit(Long limit)
The maximum number of items to return in a page of the collection.ListSteeringPoliciesRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.ListSteeringPoliciesRequest.Builder
page(String page)
The value of the opc-next-page response header from the previous “List” call.ListSteeringPoliciesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListSteeringPoliciesRequest.Builder
scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.ListSteeringPoliciesRequest.Builder
sortBy(ListSteeringPoliciesRequest.SortBy sortBy)
The field by which to sort steering policies.ListSteeringPoliciesRequest.Builder
sortOrder(SortOrder sortOrder)
The order to sort the resources.ListSteeringPoliciesRequest.Builder
template(String template)
Search by steering template type.ListSteeringPoliciesRequest.Builder
timeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)
An RFC 3339 timestamp that states all returned resources were created on or after the indicated time.ListSteeringPoliciesRequest.Builder
timeCreatedLessThan(Date timeCreatedLessThan)
An RFC 3339 timestamp that states all returned resources were created before the indicated time.-
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
-
compartmentId
public ListSteeringPoliciesRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment the resource belongs to.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListSteeringPoliciesRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
limit
public ListSteeringPoliciesRequest.Builder limit(Long limit)
The maximum number of items to return in a page of the collection.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListSteeringPoliciesRequest.Builder page(String page)
The value of the opc-next-page response header from the previous “List” call.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
id
public ListSteeringPoliciesRequest.Builder id(String id)
The OCID of a resource.- Parameters:
id
- the value to set- Returns:
- this builder instance
-
displayName
public ListSteeringPoliciesRequest.Builder displayName(String displayName)
The displayName of a resource.- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
displayNameContains
public ListSteeringPoliciesRequest.Builder displayNameContains(String displayNameContains)
The partial displayName of a resource.Will match any resource whose name (case-insensitive) contains the provided value.
- Parameters:
displayNameContains
- the value to set- Returns:
- this builder instance
-
healthCheckMonitorId
public ListSteeringPoliciesRequest.Builder healthCheckMonitorId(String healthCheckMonitorId)
Search by health check monitor OCID.Will match any resource whose health check monitor ID matches the provided value.
- Parameters:
healthCheckMonitorId
- the value to set- Returns:
- this builder instance
-
timeCreatedGreaterThanOrEqualTo
public ListSteeringPoliciesRequest.Builder timeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)
An RFC 3339 timestamp that states all returned resources were created on or after the indicated time.- Parameters:
timeCreatedGreaterThanOrEqualTo
- the value to set- Returns:
- this builder instance
-
timeCreatedLessThan
public ListSteeringPoliciesRequest.Builder timeCreatedLessThan(Date timeCreatedLessThan)
An RFC 3339 timestamp that states all returned resources were created before the indicated time.- Parameters:
timeCreatedLessThan
- the value to set- Returns:
- this builder instance
-
template
public ListSteeringPoliciesRequest.Builder template(String template)
Search by steering template type.Will match any resource whose template type matches the provided value.
- Parameters:
template
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListSteeringPoliciesRequest.Builder lifecycleState(SteeringPolicySummary.LifecycleState lifecycleState)
The state of a resource.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
sortBy
public ListSteeringPoliciesRequest.Builder sortBy(ListSteeringPoliciesRequest.SortBy sortBy)
The field by which to sort steering policies.If unspecified, defaults to timeCreated.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListSteeringPoliciesRequest.Builder sortOrder(SortOrder sortOrder)
The order to sort the resources.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
scope
public ListSteeringPoliciesRequest.Builder scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.- Parameters:
scope
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListSteeringPoliciesRequest.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 ListSteeringPoliciesRequest.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 ListSteeringPoliciesRequest.Builder copy(ListSteeringPoliciesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListSteeringPoliciesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListSteeringPoliciesRequest build()
Build the instance of ListSteeringPoliciesRequest 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<ListSteeringPoliciesRequest,Void>
- Returns:
- instance of ListSteeringPoliciesRequest
-
buildWithoutInvocationCallback
public ListSteeringPoliciesRequest buildWithoutInvocationCallback()
Build the instance of ListSteeringPoliciesRequest 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 ListSteeringPoliciesRequest
-
-