public static class PutLogsRequest.Builder extends Object implements BmcRequest.Builder<PutLogsRequest,PutLogsDetails>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PutLogsRequest.Builder |
body$(PutLogsDetails body)
Alternative setter for the body parameter.
|
PutLogsRequest |
build()
Build the instance of PutLogsRequest as configured by this builder
|
PutLogsRequest |
buildWithoutInvocationCallback()
Build the instance of PutLogsRequest as configured by this builder
|
PutLogsRequest.Builder |
copy(PutLogsRequest o)
Copy method to populate the builder with values from the given instance.
|
PutLogsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
PutLogsRequest.Builder |
logId(String logId)
OCID of a log to work with.
|
PutLogsRequest.Builder |
opcAgentVersion(String opcAgentVersion)
Version of the agent sending the request.
|
PutLogsRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
PutLogsRequest.Builder |
putLogsDetails(PutLogsDetails putLogsDetails)
The logs to emit.
|
PutLogsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
PutLogsRequest.Builder |
timestampOpcAgentProcessing(Date timestampOpcAgentProcessing)
Effective timestamp, for when the agent started processing the log segment being sent.
|
public PutLogsRequest.Builder logId(String logId)
OCID of a log to work with.
logId
- the value to setpublic PutLogsRequest.Builder putLogsDetails(PutLogsDetails putLogsDetails)
The logs to emit.
putLogsDetails
- the value to setpublic 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.
timestampOpcAgentProcessing
- the value to setpublic PutLogsRequest.Builder opcAgentVersion(String opcAgentVersion)
Version of the agent sending the request.
opcAgentVersion
- the value to setpublic 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.
opcRequestId
- the value to setpublic PutLogsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic PutLogsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic PutLogsRequest.Builder copy(PutLogsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<PutLogsRequest,PutLogsDetails>
o
- other request from which to copy valuespublic PutLogsRequest build()
Build the instance of PutLogsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<PutLogsRequest,PutLogsDetails>
public PutLogsRequest.Builder body$(PutLogsDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<PutLogsRequest,PutLogsDetails>
body
- the body parameterpublic PutLogsRequest buildWithoutInvocationCallback()
Build the instance of PutLogsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.