Class GetCredentialRequest


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

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

    • Constructor Detail

      • GetCredentialRequest

        public GetCredentialRequest()
    • Method Detail

      • getDatabaseToolsConnectionId

        public String getDatabaseToolsConnectionId()
        The OCID of a Database Tools connection.
      • getCredentialKey

        public String getCredentialKey()
        The name of the credential
      • getOpcRequestId

        public String getOpcRequestId()
        The client request ID for tracing.
      • getIfMatch

        public String getIfMatch()
        If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent accidental overwrites when multiple user agentss might be acting in parallel on the same resource (i.e., to prevent the “lost update” problem).

        In general, it can be used with any method that involves the selection or modification of a representation to abort the request if the selected representation’s current entity tag is not a member within the If-Match field value. When specified on an action-specific subresource, the ETag value of the resource on which the action is requested should be provided.

      • builder

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