Class RetrieveLogsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.containerinstances.requests.RetrieveLogsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<RetrieveLogsRequest,Void>
- Enclosing class:
- RetrieveLogsRequest
public static class RetrieveLogsRequest.Builder extends Object implements BmcRequest.Builder<RetrieveLogsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RetrieveLogsRequestbuild()Build the instance of RetrieveLogsRequest as configured by this builderRetrieveLogsRequestbuildWithoutInvocationCallback()Build the instance of RetrieveLogsRequest as configured by this builderRetrieveLogsRequest.BuildercontainerId(String containerId)The OCID of the container.RetrieveLogsRequest.Buildercopy(RetrieveLogsRequest o)Copy method to populate the builder with values from the given instance.RetrieveLogsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.RetrieveLogsRequest.BuilderisPrevious(Boolean isPrevious)Returns the logs for the previous run of the container in a pod.RetrieveLogsRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.RetrieveLogsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
containerId
public RetrieveLogsRequest.Builder containerId(String containerId)
The OCID of the container.- Parameters:
containerId- the value to set- Returns:
- this builder instance
-
opcRequestId
public RetrieveLogsRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
isPrevious
public RetrieveLogsRequest.Builder isPrevious(Boolean isPrevious)
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.
- Parameters:
isPrevious- the value to set- Returns:
- this builder instance
-
invocationCallback
public RetrieveLogsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public RetrieveLogsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public RetrieveLogsRequest.Builder copy(RetrieveLogsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<RetrieveLogsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public RetrieveLogsRequest build()
Build the instance of RetrieveLogsRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance.
- Specified by:
buildin interfaceBmcRequest.Builder<RetrieveLogsRequest,Void>- Returns:
- instance of RetrieveLogsRequest
-
buildWithoutInvocationCallback
public RetrieveLogsRequest buildWithoutInvocationCallback()
Build the instance of RetrieveLogsRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of RetrieveLogsRequest
-
-