Class ListSecretsRequest


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

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

    • Constructor Detail

      • ListSecretsRequest

        public ListSecretsRequest()
    • Method Detail

      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment.
      • getName

        public String getName()
        The secret name.
      • getLimit

        public Integer getLimit()
        The maximum number of items to return in a paginated “List” call.
      • getPage

        public String getPage()
        The value of the opc-next-page response header from the previous “List” call.
      • getOpcRequestId

        public String getOpcRequestId()
        Unique identifier for the request.

        If provided, the returned request ID will include this value. Otherwise, a random request ID will be generated by the service.

      • getSortBy

        public ListSecretsRequest.SortBy getSortBy()
        The field to sort by.

        You can specify only one sort order. The default order for TIMECREATED is descending. The default order for NAME is ascending.

      • getVaultId

        public String getVaultId()
        The OCID of the vault.
      • getLifecycleState

        public SecretSummary.LifecycleState getLifecycleState()
        A filter that returns only resources that match the specified lifecycle state.

        The state value is case-insensitive.

      • builder

        public static ListSecretsRequest.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 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>