Class ListEmailOutboundIpsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.email.requests.ListEmailOutboundIpsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListEmailOutboundIpsRequest,Void>
- Enclosing class:
- ListEmailOutboundIpsRequest
public static class ListEmailOutboundIpsRequest.Builder extends Object implements BmcRequest.Builder<ListEmailOutboundIpsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListEmailOutboundIpsRequest.BuilderassignmentState(EmailOutboundIpSummary.AssignmentState assignmentState)Filter returned list by specified assignment state.ListEmailOutboundIpsRequestbuild()Build the instance of ListEmailOutboundIpsRequest as configured by this builderListEmailOutboundIpsRequestbuildWithoutInvocationCallback()Build the instance of ListEmailOutboundIpsRequest as configured by this builderListEmailOutboundIpsRequest.BuildercompartmentId(String compartmentId)The OCID for the compartment.ListEmailOutboundIpsRequest.Buildercopy(ListEmailOutboundIpsRequest o)Copy method to populate the builder with values from the given instance.ListEmailOutboundIpsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListEmailOutboundIpsRequest.BuilderlifecycleState(EmailOutboundIpSummary.LifecycleState lifecycleState)Filter returned list by specified lifecycle state.ListEmailOutboundIpsRequest.Builderlimit(Integer limit)For list pagination.ListEmailOutboundIpsRequest.BuilderopcRequestId(String opcRequestId)The request ID for tracing from the systemListEmailOutboundIpsRequest.BuilderoutboundIp(String outboundIp)The outbound IP address assigned to the tenancy.ListEmailOutboundIpsRequest.Builderpage(String page)For list pagination.ListEmailOutboundIpsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListEmailOutboundIpsRequest.BuildersortBy(ListEmailOutboundIpsRequest.SortBy sortBy)The field to sort by.ListEmailOutboundIpsRequest.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
-
compartmentId
public ListEmailOutboundIpsRequest.Builder compartmentId(String compartmentId)
The OCID for the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListEmailOutboundIpsRequest.Builder opcRequestId(String opcRequestId)
The request ID for tracing from the system- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
outboundIp
public ListEmailOutboundIpsRequest.Builder outboundIp(String outboundIp)
The outbound IP address assigned to the tenancy.- Parameters:
outboundIp- the value to set- Returns:
- this builder instance
-
limit
public ListEmailOutboundIpsRequest.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 ListEmailOutboundIpsRequest.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 ListEmailOutboundIpsRequest.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 ListEmailOutboundIpsRequest.Builder lifecycleState(EmailOutboundIpSummary.LifecycleState lifecycleState)
Filter returned list by specified lifecycle state.This parameter is case-insensitive.
- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
assignmentState
public ListEmailOutboundIpsRequest.Builder assignmentState(EmailOutboundIpSummary.AssignmentState assignmentState)
Filter returned list by specified assignment state.- Parameters:
assignmentState- the value to set- Returns:
- this builder instance
-
sortBy
public ListEmailOutboundIpsRequest.Builder sortBy(ListEmailOutboundIpsRequest.SortBy sortBy)
The field to sort by.The OUTBOUNDIP value returns the list in ascending order or Outbound Ip address by default. Use the SortOrderQueryParam to change the direction of the returned list of items.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListEmailOutboundIpsRequest.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 ListEmailOutboundIpsRequest.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 ListEmailOutboundIpsRequest.Builder copy(ListEmailOutboundIpsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListEmailOutboundIpsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListEmailOutboundIpsRequest build()
Build the instance of ListEmailOutboundIpsRequest 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<ListEmailOutboundIpsRequest,Void>- Returns:
- instance of ListEmailOutboundIpsRequest
-
buildWithoutInvocationCallback
public ListEmailOutboundIpsRequest buildWithoutInvocationCallback()
Build the instance of ListEmailOutboundIpsRequest 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 ListEmailOutboundIpsRequest
-
-