Class JobRunAttemptSummary
- java.lang.Object
-
- software.amazon.awssdk.services.emrserverless.model.JobRunAttemptSummary
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<JobRunAttemptSummary.Builder,JobRunAttemptSummary>
@Generated("software.amazon.awssdk:codegen") public final class JobRunAttemptSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobRunAttemptSummary.Builder,JobRunAttemptSummary>
The summary of attributes associated with a job run attempt.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
JobRunAttemptSummary.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 Amazon Resource Name (ARN) of the job run.Integer
attempt()
The attempt number of the job run execution.static JobRunAttemptSummary.Builder
builder()
Instant
createdAt()
The date and time when the job run attempt was created.String
createdBy()
The user who created the job run.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
executionRole()
The Amazon Resource Name (ARN) of the execution role of the job run..<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
id()
The ID of the job run attempt.Instant
jobCreatedAt()
The date and time of when the job run was created.JobRunMode
mode()
The mode of the job run attempt.String
modeAsString()
The mode of the job run attempt.String
name()
The name of the job run attempt.String
releaseLabel()
The Amazon EMR release label of the job run attempt.List<SdkField<?>>
sdkFields()
static Class<? extends JobRunAttemptSummary.Builder>
serializableBuilderClass()
JobRunState
state()
The state of the job run attempt.String
stateAsString()
The state of the job run attempt.String
stateDetails()
The state details of the job run attempt.JobRunAttemptSummary.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
type()
The type of the job run, such as Spark or Hive.Instant
updatedAt()
The date and time of when the job run attempt 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 attempt.
- Returns:
- The ID of the job run attempt.
-
name
public final String name()
The name of the job run attempt.
- Returns:
- The name of the job run attempt.
-
mode
public final JobRunMode mode()
The mode of the job run attempt.
If the service returns an enum value that is not available in the current SDK version,
mode
will returnJobRunMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommodeAsString()
.- Returns:
- The mode of the job run attempt.
- See Also:
JobRunMode
-
modeAsString
public final String modeAsString()
The mode of the job run attempt.
If the service returns an enum value that is not available in the current SDK version,
mode
will returnJobRunMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommodeAsString()
.- Returns:
- The mode of the job run attempt.
- See Also:
JobRunMode
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the job run.
- Returns:
- The Amazon Resource Name (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.
-
jobCreatedAt
public final Instant jobCreatedAt()
The date and time of when the job run was created.
- Returns:
- The date and time of when the job run was created.
-
createdAt
public final Instant createdAt()
The date and time when the job run attempt was created.
- Returns:
- The date and time when the job run attempt was created.
-
updatedAt
public final Instant updatedAt()
The date and time of when the job run attempt was last updated.
- Returns:
- The date and time of when the job run attempt was last updated.
-
executionRole
public final String executionRole()
The Amazon Resource Name (ARN) of the execution role of the job run..
- Returns:
- The Amazon Resource Name (ARN) of the execution role of the job run..
-
state
public final JobRunState state()
The state of the job run attempt.
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 attempt.
- See Also:
JobRunState
-
stateAsString
public final String stateAsString()
The state of the job run attempt.
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 attempt.
- See Also:
JobRunState
-
stateDetails
public final String stateDetails()
The state details of the job run attempt.
- Returns:
- The state details of the job run attempt.
-
releaseLabel
public final String releaseLabel()
The Amazon EMR release label of the job run attempt.
- Returns:
- The Amazon EMR release label of the job run attempt.
-
type
public final String type()
The type of the job run, such as Spark or Hive.
- Returns:
- The type of the job run, such as Spark or Hive.
-
attempt
public final Integer attempt()
The attempt number of the job run execution.
- Returns:
- The attempt number of the job run execution.
-
toBuilder
public JobRunAttemptSummary.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<JobRunAttemptSummary.Builder,JobRunAttemptSummary>
-
builder
public static JobRunAttemptSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends JobRunAttemptSummary.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.
-
-