Class PutLogsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<PutLogsDetails>
-
- com.oracle.bmc.loggingingestion.requests.PutLogsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200831") public class PutLogsRequest extends BmcRequest<PutLogsDetails>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/loggingingestion/PutLogsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use PutLogsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PutLogsRequest.Builder
-
Constructor Summary
Constructors Constructor Description PutLogsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PutLogsRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.PutLogsDetails
getBody$()
Alternative accessor for the body parameter.String
getLogId()
OCID of a log to work with.String
getOpcAgentVersion()
Version of the agent sending the request.String
getOpcRequestId()
Unique Oracle-assigned identifier for the request.PutLogsDetails
getPutLogsDetails()
The logs to emit.Date
getTimestampOpcAgentProcessing()
Effective timestamp, for when the agent started processing the log segment being sent.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.PutLogsRequest.Builder
toBuilder()
Return an instance ofPutLogsRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getLogId
public String getLogId()
OCID of a log to work with.
-
getPutLogsDetails
public PutLogsDetails getPutLogsDetails()
The logs to emit.
-
getTimestampOpcAgentProcessing
public Date getTimestampOpcAgentProcessing()
Effective timestamp, for when the agent started processing the log segment being sent.An RFC3339-formatted date-time string with milliseconds precision.
-
getOpcAgentVersion
public String getOpcAgentVersion()
Version of the agent sending the request.
-
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.
-
getBody$
public PutLogsDetails getBody$()
Alternative accessor for the body parameter.- Overrides:
getBody$
in classBmcRequest<PutLogsDetails>
- Returns:
- body parameter
-
toBuilder
public PutLogsRequest.Builder toBuilder()
Return an instance ofPutLogsRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
PutLogsRequest.Builder
that allows you to modify request properties.
-
builder
public static PutLogsRequest.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 classBmcRequest<PutLogsDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<PutLogsDetails>
-
-