Class JobRunSummary
- java.lang.Object
-
- software.amazon.awssdk.services.emrserverless.model.JobRunSummary
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<JobRunSummary.Builder,JobRunSummary>
@Generated("software.amazon.awssdk:codegen") public final class JobRunSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobRunSummary.Builder,JobRunSummary>
The summary of attributes associated with a job run.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
JobRunSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
applicationId()
The ID of the application the job is running on.String
arn()
The ARN of the job run.static JobRunSummary.Builder
builder()
Instant
createdAt()
The date and time when the job run was created.String
createdBy()
The user who created the job run.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
executionRole()
The execution role ARN of the job run.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
id()
The ID of the job run.String
name()
The optional job run name.String
releaseLabel()
The Amazon EMR release associated with the application your job is running on.List<SdkField<?>>
sdkFields()
static Class<? extends JobRunSummary.Builder>
serializableBuilderClass()
JobRunState
state()
The state of the job run.String
stateAsString()
The state of the job run.String
stateDetails()
The state details of the job run.JobRunSummary.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
type()
The type of job run, such as Spark or Hive.Instant
updatedAt()
The date and time when the job run was last updated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
applicationId
public final String applicationId()
The ID of the application the job is running on.
- Returns:
- The ID of the application the job is running on.
-
id
public final String id()
The ID of the job run.
- Returns:
- The ID of the job run.
-
name
public final String name()
The optional job run name. This doesn't have to be unique.
- Returns:
- The optional job run name. This doesn't have to be unique.
-
arn
public final String arn()
The ARN of the job run.
- Returns:
- The ARN of the job run.
-
createdBy
public final String createdBy()
The user who created the job run.
- Returns:
- The user who created the job run.
-
createdAt
public final Instant createdAt()
The date and time when the job run was created.
- Returns:
- The date and time when the job run was created.
-
updatedAt
public final Instant updatedAt()
The date and time when the job run was last updated.
- Returns:
- The date and time when the job run was last updated.
-
executionRole
public final String executionRole()
The execution role ARN of the job run.
- Returns:
- The execution role ARN of the job run.
-
state
public final JobRunState state()
The state of the job run.
If the service returns an enum value that is not available in the current SDK version,
state
will returnJobRunState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
- The state of the job run.
- See Also:
JobRunState
-
stateAsString
public final String stateAsString()
The state of the job run.
If the service returns an enum value that is not available in the current SDK version,
state
will returnJobRunState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
- The state of the job run.
- See Also:
JobRunState
-
stateDetails
public final String stateDetails()
The state details of the job run.
- Returns:
- The state details of the job run.
-
releaseLabel
public final String releaseLabel()
The Amazon EMR release associated with the application your job is running on.
- Returns:
- The Amazon EMR release associated with the application your job is running on.
-
type
public final String type()
The type of job run, such as Spark or Hive.
- Returns:
- The type of job run, such as Spark or Hive.
-
toBuilder
public JobRunSummary.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<JobRunSummary.Builder,JobRunSummary>
-
builder
public static JobRunSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends JobRunSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-