Class RetrieveLogsRequest


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

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

    • Constructor Detail

      • RetrieveLogsRequest

        public RetrieveLogsRequest()
    • Method Detail

      • getContainerId

        public String getContainerId()
        The OCID of the container.
      • getOpcRequestId

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

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

      • getIsPrevious

        public Boolean getIsPrevious()
        Returns the logs for the previous run of the container in a pod.

        If the container fails, this parameter can help you to determine the root cause of the failure.

      • builder

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