Package com.oracle.bmc.dataflow.model
Class RunLogSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.dataflow.model.RunLogSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200129") public final class RunLogSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelA summary of a log associated with a particular run.
Note: Objects should always be created or deserialized using theRunLogSummary.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 theRunLogSummary.Builder, which maintain a set of all explicitly set fields calledRunLogSummary.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 classRunLogSummary.Builderstatic classRunLogSummary.SourceThe source of the log such as driver and executor.static classRunLogSummary.TypeThe type of log such as stdout and stderr.
-
Constructor Summary
Constructors Constructor Description RunLogSummary(String name, String runId, Long sizeInBytes, RunLogSummary.Source source, Date timeCreated, RunLogSummary.Type type)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RunLogSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetName()The name of the log.StringgetRunId()The runId associated with the log.LonggetSizeInBytes()The size of the object in bytes.RunLogSummary.SourcegetSource()The source of the log such as driver and executor.DategetTimeCreated()The date and time the object was created, as described in RFC 2616, section 14.29.RunLogSummary.TypegetType()The type of log such as stdout and stderr.inthashCode()RunLogSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
RunLogSummary
@Deprecated @ConstructorProperties({"name","runId","sizeInBytes","source","timeCreated","type"}) public RunLogSummary(String name, String runId, Long sizeInBytes, RunLogSummary.Source source, Date timeCreated, RunLogSummary.Type type)
Deprecated.
-
-
Method Detail
-
builder
public static RunLogSummary.Builder builder()
Create a new builder.
-
toBuilder
public RunLogSummary.Builder toBuilder()
-
getName
public String getName()
The name of the log.Example: spark_driver_stderr_20190917T114000Z.log.gz
- Returns:
- the value
-
getRunId
public String getRunId()
The runId associated with the log.- Returns:
- the value
-
getSizeInBytes
public Long getSizeInBytes()
The size of the object in bytes.- Returns:
- the value
-
getSource
public RunLogSummary.Source getSource()
The source of the log such as driver and executor.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The date and time the object was created, as described in RFC 2616, section 14.29.- Returns:
- the value
-
getType
public RunLogSummary.Type getType()
The type of log such as stdout and stderr.- 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
-
-