Package com.oracle.bmc.dataflow.model
Class RunSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.dataflow.model.RunSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200129") public final class RunSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelA summary of the run.
Note: Objects should always be created or deserialized using theRunSummary.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 theRunSummary.Builder, which maintain a set of all explicitly set fields calledRunSummary.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 classRunSummary.Builder
-
Constructor Summary
Constructors Constructor Description RunSummary(String applicationId, String compartmentId, Long dataReadInBytes, Long dataWrittenInBytes, Map<String,Map<String,Object>> definedTags, String displayName, Map<String,String> freeformTags, String id, ApplicationLanguage language, String lifecycleDetails, RunLifecycleState lifecycleState, String opcRequestId, String ownerPrincipalId, String ownerUserName, String poolId, Long runDurationInMilliseconds, Integer totalOCpu, Date timeCreated, Date timeUpdated, ApplicationType type)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RunSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetApplicationId()The application ID.StringgetCompartmentId()The OCID of a compartment.LonggetDataReadInBytes()The data read by the run in bytes.LonggetDataWrittenInBytes()The data written by the run in bytes.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDisplayName()A user-friendly name.Map<String,String>getFreeformTags()Free-form tags for this resource.StringgetId()The ID of a run.ApplicationLanguagegetLanguage()The Spark language.StringgetLifecycleDetails()The detailed messages about the lifecycle state.RunLifecycleStategetLifecycleState()The current state of this run.StringgetOpcRequestId()Unique Oracle assigned identifier for the request.StringgetOwnerPrincipalId()The OCID of the user who created the resource.StringgetOwnerUserName()The username of the user who created the resource.StringgetPoolId()The OCID of a pool.LonggetRunDurationInMilliseconds()The duration of the run in milliseconds.DategetTimeCreated()The date and time the resource was created, expressed in RFC 3339 timestamp format.DategetTimeUpdated()The date and time the resource was updated, expressed in RFC 3339 timestamp format.IntegergetTotalOCpu()The total number of oCPU requested by the run.ApplicationTypegetType()The Spark application processing type.inthashCode()RunSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
RunSummary
@Deprecated @ConstructorProperties({"applicationId","compartmentId","dataReadInBytes","dataWrittenInBytes","definedTags","displayName","freeformTags","id","language","lifecycleDetails","lifecycleState","opcRequestId","ownerPrincipalId","ownerUserName","poolId","runDurationInMilliseconds","totalOCpu","timeCreated","timeUpdated","type"}) public RunSummary(String applicationId, String compartmentId, Long dataReadInBytes, Long dataWrittenInBytes, Map<String,Map<String,Object>> definedTags, String displayName, Map<String,String> freeformTags, String id, ApplicationLanguage language, String lifecycleDetails, RunLifecycleState lifecycleState, String opcRequestId, String ownerPrincipalId, String ownerUserName, String poolId, Long runDurationInMilliseconds, Integer totalOCpu, Date timeCreated, Date timeUpdated, ApplicationType type)
Deprecated.
-
-
Method Detail
-
builder
public static RunSummary.Builder builder()
Create a new builder.
-
toBuilder
public RunSummary.Builder toBuilder()
-
getApplicationId
public String getApplicationId()
The application ID.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of a compartment.- Returns:
- the value
-
getDataReadInBytes
public Long getDataReadInBytes()
The data read by the run in bytes.- Returns:
- the value
-
getDataWrittenInBytes
public Long getDataWrittenInBytes()
The data written by the run in bytes.- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Returns:
- the value
-
getDisplayName
public String getDisplayName()
A user-friendly name.This name is not necessarily unique.
- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Returns:
- the value
-
getId
public String getId()
The ID of a run.- Returns:
- the value
-
getLanguage
public ApplicationLanguage getLanguage()
The Spark language.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
The detailed messages about the lifecycle state.- Returns:
- the value
-
getLifecycleState
public RunLifecycleState getLifecycleState()
The current state of this run.- Returns:
- the value
-
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.
- Returns:
- the value
-
getOwnerPrincipalId
public String getOwnerPrincipalId()
The OCID of the user who created the resource.- Returns:
- the value
-
getOwnerUserName
public String getOwnerUserName()
The username of the user who created the resource.If the username of the owner does not exist, null will be returned and the caller should refer to the ownerPrincipalId value instead.
- Returns:
- the value
-
getPoolId
public String getPoolId()
The OCID of a pool.Unique Id to indentify a dataflow pool resource.
- Returns:
- the value
-
getRunDurationInMilliseconds
public Long getRunDurationInMilliseconds()
The duration of the run in milliseconds.- Returns:
- the value
-
getTotalOCpu
public Integer getTotalOCpu()
The total number of oCPU requested by the run.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The date and time the resource was created, expressed in RFC 3339 timestamp format.Example: 2018-04-03T21:10:29.600Z
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The date and time the resource was updated, expressed in RFC 3339 timestamp format.Example: 2018-04-03T21:10:29.600Z
- Returns:
- the value
-
getType
public ApplicationType getType()
The Spark application processing type.- 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
-
-