@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 the UploadFileSummary.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 the UploadFileSummary.Builder
, which maintain a
set of all explicitly set fields called UploadFileSummary.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
UploadFileSummary.Builder |
static class |
UploadFileSummary.Status
Processing status of the file.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and 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 file
|
String |
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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static UploadFileSummary.Builder builder()
Create a new builder.
public UploadFileSummary.Builder toBuilder()
public String getReference()
Unique internal identifier to refer upload file.
public String getName()
Name of the file
public UploadFileSummary.Status getStatus()
Processing status of the file.
public BigDecimal getTotalChunks()
Number of estimated chunks for this file. A chunk is a portion of the log file used for the processing.
public BigDecimal getChunksConsumed()
Number of chunks processed.
public BigDecimal getChunksSuccess()
Number of chunks processed successfully.
public BigDecimal getChunksFail()
Number of chunks failed processing.
public Date getTimeStarted()
The time when this file processing started.
public String getSourceName()
Name of the log source used for processing this file.
public String getEntityType()
Name of the entity type.
public String getEntityName()
Name of the entity associated with the file.
public String getLogNamespace()
(Deprecated) Name of the log namespace associated with the file.
public String getLogGroupId()
Log group OCID associated with the file.
public String getLogGroupName()
Name of the log group associated with the file.
public String getFailureDetails()
The details about upload processing failure.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.