Package com.oracle.bmc.email.requests
Class ListEmailDomainsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.email.requests.ListEmailDomainsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20170907") public class ListEmailDomainsRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/email/ListEmailDomainsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListEmailDomainsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListEmailDomainsRequest.Builder
static class
ListEmailDomainsRequest.SortBy
Specifies the attribute with which to sort the email domains.
-
Constructor Summary
Constructors Constructor Description ListEmailDomainsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListEmailDomainsRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.String
getCompartmentId()
The OCID for the compartment.String
getId()
A filter to only return resources that match the given id exactly.EmailDomain.LifecycleState
getLifecycleState()
Filter returned list by specified lifecycle state.Integer
getLimit()
For list pagination.String
getName()
A filter to only return resources that match the given name exactly.String
getOpcRequestId()
The request ID for tracing from the systemString
getPage()
For list pagination.ListEmailDomainsRequest.SortBy
getSortBy()
Specifies the attribute with which to sort the email domains.SortOrder
getSortOrder()
The sort order to use, either ascending or descending order.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListEmailDomainsRequest.Builder
toBuilder()
Return an instance ofListEmailDomainsRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getCompartmentId
public String getCompartmentId()
The OCID for the compartment.
-
getOpcRequestId
public String getOpcRequestId()
The request ID for tracing from the system
-
getId
public String getId()
A filter to only return resources that match the given id exactly.
-
getName
public String getName()
A filter to only return resources that match the given name exactly.
-
getLimit
public Integer getLimit()
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.
-
getPage
public String getPage()
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.
-
getSortOrder
public SortOrder getSortOrder()
The sort order to use, either ascending or descending order.
-
getLifecycleState
public EmailDomain.LifecycleState getLifecycleState()
Filter returned list by specified lifecycle state.This parameter is case-insensitive.
-
getSortBy
public ListEmailDomainsRequest.SortBy getSortBy()
Specifies the attribute with which to sort the email domains.Default: TIMECREATED
**TIMECREATED:** Sorts by timeCreated. * **NAME:** Sorts by name. * **ID:** Sorts by id.
-
toBuilder
public ListEmailDomainsRequest.Builder toBuilder()
Return an instance ofListEmailDomainsRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListEmailDomainsRequest.Builder
that allows you to modify request properties.
-
builder
public static ListEmailDomainsRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-