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.ExplicitlySetBmcModelDetails 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 classUploadFileSummary.Builderstatic classUploadFileSummary.StatusProcessing 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.Builderbuilder()Create a new builder.booleanequals(Object o)BigDecimalgetChunksConsumed()Number of chunks processed.BigDecimalgetChunksFail()Number of chunks failed processing.BigDecimalgetChunksSuccess()Number of chunks processed successfully.StringgetEntityName()Name of the entity associated with the file.StringgetEntityType()Name of the entity type.StringgetFailureDetails()The details about upload processing failure.StringgetLogGroupId()Log group OCID associated with the file.StringgetLogGroupName()Name of the log group associated with the file.StringgetLogNamespace()(Deprecated) Name of the log namespace associated with the file.StringgetName()Name of the fileStringgetReference()Unique internal identifier to refer upload file.StringgetSourceName()Name of the log source used for processing this file.UploadFileSummary.StatusgetStatus()Processing status of the file.DategetTimeStarted()The time when this file processing started.BigDecimalgetTotalChunks()Number of estimated chunks for this file.inthashCode()UploadFileSummary.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-