Class ListCustomProtectionRulesRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181116")
    public class ListCustomProtectionRulesRequest
    extends BmcRequest<Void>

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/waas/ListCustomProtectionRulesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListCustomProtectionRulesRequest.

    • Constructor Detail

      • ListCustomProtectionRulesRequest

        public ListCustomProtectionRulesRequest()
    • Method Detail

      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment.

        This number is generated when the compartment is created.

      • getOpcRequestId

        public String getOpcRequestId()
        The unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the request ID.

      • getLimit

        public Integer getLimit()
        The maximum number of items to return in a paginated call.

        If unspecified, defaults to 10.

      • getPage

        public String getPage()
        The value of the opc-next-page response header from the previous paginated call.
      • getSortBy

        public ListCustomProtectionRulesRequest.SortBy getSortBy()
        The value by which custom protection rules are sorted in a paginated ‘List’ call.

        If unspecified, defaults to timeCreated.

      • getId

        public List<String> getId()
        Filter custom protection rules using a list of custom protection rule OCIDs.
      • getDisplayName

        public List<String> getDisplayName()
        Filter custom protection rules using a list of display names.
      • getLifecycleState

        public List<LifecycleStates> getLifecycleState()
        Filter Custom Protection rules using a list of lifecycle states.
      • getTimeCreatedGreaterThanOrEqualTo

        public Date getTimeCreatedGreaterThanOrEqualTo()
        A filter that matches Custom Protection rules created on or after the specified date-time.
      • getTimeCreatedLessThan

        public Date getTimeCreatedLessThan()
        A filter that matches custom protection rules created before the specified date-time.
      • 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 class BmcRequest<Void>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<Void>