Class UploadFileSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.loganalytics.model.UploadFileSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class UploadFileSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details of Upload File.
Note: Objects should always be created or deserialized using theUploadFileSummary.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theUploadFileSummary.Builder
, which maintain a set of all explicitly set fields calledUploadFileSummary.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UploadFileSummary.Builder
static class
UploadFileSummary.Status
Processing status of the file.
-
Constructor Summary
Constructors Constructor Description UploadFileSummary(String reference, String name, UploadFileSummary.Status status, BigDecimal totalChunks, BigDecimal chunksConsumed, BigDecimal chunksSuccess, BigDecimal chunksFail, Date timeStarted, String sourceName, String entityType, String entityName, String logNamespace, String logGroupId, String logGroupName, String failureDetails)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UploadFileSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
BigDecimal
getChunksConsumed()
Number of chunks processed.BigDecimal
getChunksFail()
Number of chunks failed processing.BigDecimal
getChunksSuccess()
Number of chunks processed successfully.String
getEntityName()
Name of the entity associated with the file.String
getEntityType()
Name of the entity type.String
getFailureDetails()
The details about upload processing failure.String
getLogGroupId()
Log group OCID associated with the file.String
getLogGroupName()
Name of the log group associated with the file.String
getLogNamespace()
(Deprecated) Name of the log namespace associated with the file.String
getName()
Name of the fileString
getReference()
Unique internal identifier to refer upload file.String
getSourceName()
Name of the log source used for processing this file.UploadFileSummary.Status
getStatus()
Processing status of the file.Date
getTimeStarted()
The time when this file processing started.BigDecimal
getTotalChunks()
Number of estimated chunks for this file.int
hashCode()
UploadFileSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
UploadFileSummary
@Deprecated @ConstructorProperties({"reference","name","status","totalChunks","chunksConsumed","chunksSuccess","chunksFail","timeStarted","sourceName","entityType","entityName","logNamespace","logGroupId","logGroupName","failureDetails"}) public UploadFileSummary(String reference, String name, UploadFileSummary.Status status, BigDecimal totalChunks, BigDecimal chunksConsumed, BigDecimal chunksSuccess, BigDecimal chunksFail, Date timeStarted, String sourceName, String entityType, String entityName, String logNamespace, String logGroupId, String logGroupName, String failureDetails)
Deprecated.
-
-
Method Detail
-
builder
public static UploadFileSummary.Builder builder()
Create a new builder.
-
toBuilder
public UploadFileSummary.Builder toBuilder()
-
getReference
public String getReference()
Unique internal identifier to refer upload file.- Returns:
- the value
-
getName
public String getName()
Name of the file- Returns:
- the value
-
getStatus
public UploadFileSummary.Status getStatus()
Processing status of the file.- Returns:
- the value
-
getTotalChunks
public BigDecimal getTotalChunks()
Number of estimated chunks for this file.A chunk is a portion of the log file used for the processing.
- Returns:
- the value
-
getChunksConsumed
public BigDecimal getChunksConsumed()
Number of chunks processed.- Returns:
- the value
-
getChunksSuccess
public BigDecimal getChunksSuccess()
Number of chunks processed successfully.- Returns:
- the value
-
getChunksFail
public BigDecimal getChunksFail()
Number of chunks failed processing.- Returns:
- the value
-
getTimeStarted
public Date getTimeStarted()
The time when this file processing started.- Returns:
- the value
-
getSourceName
public String getSourceName()
Name of the log source used for processing this file.- Returns:
- the value
-
getEntityType
public String getEntityType()
Name of the entity type.- Returns:
- the value
-
getEntityName
public String getEntityName()
Name of the entity associated with the file.- Returns:
- the value
-
getLogNamespace
public String getLogNamespace()
(Deprecated) Name of the log namespace associated with the file.- Returns:
- the value
-
getLogGroupId
public String getLogGroupId()
Log group OCID associated with the file.- Returns:
- the value
-
getLogGroupName
public String getLogGroupName()
Name of the log group associated with the file.- Returns:
- the value
-
getFailureDetails
public String getFailureDetails()
The details about upload processing failure.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-