Class ListDkimsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.email.requests.ListDkimsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListDkimsRequest,Void>
- Enclosing class:
- ListDkimsRequest
public static class ListDkimsRequest.Builder extends Object implements BmcRequest.Builder<ListDkimsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDkimsRequestbuild()Build the instance of ListDkimsRequest as configured by this builderListDkimsRequestbuildWithoutInvocationCallback()Build the instance of ListDkimsRequest as configured by this builderListDkimsRequest.Buildercopy(ListDkimsRequest o)Copy method to populate the builder with values from the given instance.ListDkimsRequest.BuilderemailDomainId(String emailDomainId)The OCID of the email domain to which this DKIM belongs.ListDkimsRequest.Builderid(String id)A filter to only return resources that match the given id exactly.ListDkimsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListDkimsRequest.BuilderlifecycleState(Dkim.LifecycleState lifecycleState)Filter returned list by specified lifecycle state.ListDkimsRequest.Builderlimit(Integer limit)For list pagination.ListDkimsRequest.Buildername(String name)A filter to only return resources that match the given name exactly.ListDkimsRequest.BuilderopcRequestId(String opcRequestId)The request ID for tracing from the systemListDkimsRequest.Builderpage(String page)For list pagination.ListDkimsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListDkimsRequest.BuildersortBy(ListDkimsRequest.SortBy sortBy)Specifies the attribute with which to sort the DKIMs.ListDkimsRequest.BuildersortOrder(SortOrder sortOrder)The sort order to use, either ascending or descending order.-
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
-
emailDomainId
public ListDkimsRequest.Builder emailDomainId(String emailDomainId)
The OCID of the email domain to which this DKIM belongs.- Parameters:
emailDomainId- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListDkimsRequest.Builder opcRequestId(String opcRequestId)
The request ID for tracing from the system- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
id
public ListDkimsRequest.Builder id(String id)
A filter to only return resources that match the given id exactly.- Parameters:
id- the value to set- Returns:
- this builder instance
-
name
public ListDkimsRequest.Builder name(String name)
A filter to only return resources that match the given name exactly.- Parameters:
name- the value to set- Returns:
- this builder instance
-
limit
public ListDkimsRequest.Builder limit(Integer limit)
For list pagination.The maximum number of results per page, or items to return in a paginated “List” call. 1 is the minimum, 1000 is the maximum. For important details about how pagination works, see List Pagination.
- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListDkimsRequest.Builder page(String page)
For list pagination.The value of the opc-next-page response header from the previous “List” call. For important details about how pagination works, see List Pagination.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
sortOrder
public ListDkimsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ascending or descending order.- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListDkimsRequest.Builder lifecycleState(Dkim.LifecycleState lifecycleState)
Filter returned list by specified lifecycle state.This parameter is case-insensitive.
- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
sortBy
public ListDkimsRequest.Builder sortBy(ListDkimsRequest.SortBy sortBy)
Specifies the attribute with which to sort the DKIMs.Default: TIMECREATED
**TIMECREATED:** Sorts by timeCreated. * **NAME:** Sorts by name. * **ID:** Sorts by id.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListDkimsRequest.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 ListDkimsRequest.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 ListDkimsRequest.Builder copy(ListDkimsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListDkimsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListDkimsRequest build()
Build the instance of ListDkimsRequest 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:
buildin interfaceBmcRequest.Builder<ListDkimsRequest,Void>- Returns:
- instance of ListDkimsRequest
-
buildWithoutInvocationCallback
public ListDkimsRequest buildWithoutInvocationCallback()
Build the instance of ListDkimsRequest 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 ListDkimsRequest
-
-