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