@Generated(value="OracleSDKGenerator", comments="API Version: 20190101") public final class PipelineRunSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of the PipelineRun.
Note: Objects should always be created or deserialized using the PipelineRunSummary.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 PipelineRunSummary.Builder
, which maintain a
set of all explicitly set fields called PipelineRunSummary.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 |
PipelineRunSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
PipelineRunSummary(String id,
Date timeAccepted,
Date timeStarted,
Date timeFinished,
Date timeUpdated,
String createdBy,
String projectId,
String compartmentId,
String pipelineId,
String displayName,
PipelineRunLifecycleState lifecycleState,
String lifecycleDetails,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Map<String,Map<String,Object>> systemTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static PipelineRunSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
The OCID of
the compartment where you want to create the pipeline run.
|
String |
getCreatedBy()
The OCID of
the user who created the pipeline run.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDisplayName()
A user-friendly display name for the resource.
|
Map<String,String> |
getFreeformTags()
Free-form tags for this resource.
|
String |
getId()
The OCID of
the pipeline run.
|
String |
getLifecycleDetails()
A message describing the current state in more detail.
|
PipelineRunLifecycleState |
getLifecycleState()
The state of the pipeline run.
|
String |
getPipelineId()
The OCID of
the pipeline for which pipeline run is created.
|
String |
getProjectId()
The OCID of
the project to associate the pipeline run with.
|
Map<String,Map<String,Object>> |
getSystemTags()
Usage of system tag keys.
|
Date |
getTimeAccepted()
The date and time the pipeline run was accepted in the timestamp format defined by
RFC3339.
|
Date |
getTimeFinished()
The date and time the pipeline run request was finished in the timestamp format defined by
RFC3339.
|
Date |
getTimeStarted()
The date and time the pipeline run request was started in the timestamp format defined by
RFC3339.
|
Date |
getTimeUpdated()
The date and time the pipeline run was updated in the timestamp format defined by
RFC3339.
|
int |
hashCode() |
PipelineRunSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","timeAccepted","timeStarted","timeFinished","timeUpdated","createdBy","projectId","compartmentId","pipelineId","displayName","lifecycleState","lifecycleDetails","freeformTags","definedTags","systemTags"}) public PipelineRunSummary(String id, Date timeAccepted, Date timeStarted, Date timeFinished, Date timeUpdated, String createdBy, String projectId, String compartmentId, String pipelineId, String displayName, PipelineRunLifecycleState lifecycleState, String lifecycleDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
public static PipelineRunSummary.Builder builder()
Create a new builder.
public PipelineRunSummary.Builder toBuilder()
public Date getTimeAccepted()
The date and time the pipeline run was accepted in the timestamp format defined by RFC3339.
public Date getTimeStarted()
The date and time the pipeline run request was started in the timestamp format defined by RFC3339.
public Date getTimeFinished()
The date and time the pipeline run request was finished in the timestamp format defined by RFC3339.
public Date getTimeUpdated()
The date and time the pipeline run was updated in the timestamp format defined by RFC3339.
public String getCreatedBy()
The OCID of the user who created the pipeline run.
public String getProjectId()
The OCID of the project to associate the pipeline run with.
public String getCompartmentId()
The OCID of the compartment where you want to create the pipeline run.
public String getPipelineId()
The OCID of the pipeline for which pipeline run is created.
public String getDisplayName()
A user-friendly display name for the resource.
public PipelineRunLifecycleState getLifecycleState()
The state of the pipeline run.
public String getLifecycleDetails()
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in ‘Failed’ state.
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. See Resource
Tags. Example:
{"Department": "Finance"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. See
Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
public Map<String,Map<String,Object>> getSystemTags()
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
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.