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/latest/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 classPutLogsRequest.Builder
-
Constructor Summary
Constructors Constructor Description PutLogsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PutLogsRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.PutLogsDetailsgetBody$()Alternative accessor for the body parameter.StringgetLogId()OCID of a log to work with.StringgetOpcAgentVersion()Version of the agent sending the request.StringgetOpcRequestId()Unique Oracle-assigned identifier for the request.PutLogsDetailsgetPutLogsDetails()The logs to emit.DategetTimestampOpcAgentProcessing()Effective timestamp, for when the agent started processing the log segment being sent.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.PutLogsRequest.BuildertoBuilder()Return an instance ofPutLogsRequest.Builderthat allows you to modify request properties.StringtoString()-
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.Builderthat allows you to modify request properties.- Returns:
- instance of
PutLogsRequest.Builderthat 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:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<PutLogsDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<PutLogsDetails>
-
-