Class PutLogsRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.loggingingestion.requests.PutLogsRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<PutLogsRequest,PutLogsDetails>
 - Enclosing class:
- PutLogsRequest
 
 public static class PutLogsRequest.Builder extends Object implements BmcRequest.Builder<PutLogsRequest,PutLogsDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PutLogsRequest.Builderbody$(PutLogsDetails body)Alternative setter for the body parameter.PutLogsRequestbuild()Build the instance of PutLogsRequest as configured by this builderPutLogsRequestbuildWithoutInvocationCallback()Build the instance of PutLogsRequest as configured by this builderPutLogsRequest.Buildercopy(PutLogsRequest o)Copy method to populate the builder with values from the given instance.PutLogsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.PutLogsRequest.BuilderlogId(String logId)OCID of a log to work with.PutLogsRequest.BuilderopcAgentVersion(String opcAgentVersion)Version of the agent sending the request.PutLogsRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.PutLogsRequest.BuilderputLogsDetails(PutLogsDetails putLogsDetails)The logs to emit.PutLogsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.PutLogsRequest.BuildertimestampOpcAgentProcessing(Date timestampOpcAgentProcessing)Effective timestamp, for when the agent started processing the log segment being sent.
 
- 
- 
- 
Method Detail- 
logIdpublic PutLogsRequest.Builder logId(String logId) OCID of a log to work with.- Parameters:
- logId- the value to set
- Returns:
- this builder instance
 
 - 
putLogsDetailspublic PutLogsRequest.Builder putLogsDetails(PutLogsDetails putLogsDetails) The logs to emit.- Parameters:
- putLogsDetails- the value to set
- Returns:
- this builder instance
 
 - 
timestampOpcAgentProcessingpublic PutLogsRequest.Builder timestampOpcAgentProcessing(Date timestampOpcAgentProcessing) Effective timestamp, for when the agent started processing the log segment being sent.An RFC3339-formatted date-time string with milliseconds precision. - Parameters:
- timestampOpcAgentProcessing- the value to set
- Returns:
- this builder instance
 
 - 
opcAgentVersionpublic PutLogsRequest.Builder opcAgentVersion(String opcAgentVersion) Version of the agent sending the request.- Parameters:
- opcAgentVersion- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic PutLogsRequest.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
 
 - 
invocationCallbackpublic PutLogsRequest.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
 
 - 
retryConfigurationpublic PutLogsRequest.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
 
 - 
copypublic PutLogsRequest.Builder copy(PutLogsRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<PutLogsRequest,PutLogsDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic PutLogsRequest build() Build the instance of PutLogsRequest 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 interface- BmcRequest.Builder<PutLogsRequest,PutLogsDetails>
- Returns:
- instance of PutLogsRequest
 
 - 
body$public PutLogsRequest.Builder body$(PutLogsDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<PutLogsRequest,PutLogsDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic PutLogsRequest buildWithoutInvocationCallback() Build the instance of PutLogsRequest 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 PutLogsRequest
 
 
- 
 
-