Class GetJobEntityError
- java.lang.Object
-
- software.amazon.awssdk.services.deadline.model.GetJobEntityError
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GetJobEntityError.Builder,GetJobEntityError>
@Generated("software.amazon.awssdk:codegen") public final class GetJobEntityError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GetJobEntityError.Builder,GetJobEntityError>
The error for the job entity.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetJobEntityError.Builderstatic classGetJobEntityError.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetJobEntityError.Builderbuilder()EnvironmentDetailsErrorenvironmentDetails()The environment details for the failed job entity.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static GetJobEntityErrorfromEnvironmentDetails(Consumer<EnvironmentDetailsError.Builder> environmentDetails)Create an instance of this class withenvironmentDetails()initialized to the given value.static GetJobEntityErrorfromEnvironmentDetails(EnvironmentDetailsError environmentDetails)Create an instance of this class withenvironmentDetails()initialized to the given value.static GetJobEntityErrorfromJobAttachmentDetails(Consumer<JobAttachmentDetailsError.Builder> jobAttachmentDetails)Create an instance of this class withjobAttachmentDetails()initialized to the given value.static GetJobEntityErrorfromJobAttachmentDetails(JobAttachmentDetailsError jobAttachmentDetails)Create an instance of this class withjobAttachmentDetails()initialized to the given value.static GetJobEntityErrorfromJobDetails(Consumer<JobDetailsError.Builder> jobDetails)Create an instance of this class withjobDetails()initialized to the given value.static GetJobEntityErrorfromJobDetails(JobDetailsError jobDetails)Create an instance of this class withjobDetails()initialized to the given value.static GetJobEntityErrorfromStepDetails(Consumer<StepDetailsError.Builder> stepDetails)Create an instance of this class withstepDetails()initialized to the given value.static GetJobEntityErrorfromStepDetails(StepDetailsError stepDetails)Create an instance of this class withstepDetails()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()JobAttachmentDetailsErrorjobAttachmentDetails()The job attachment details for the failed job entity.JobDetailsErrorjobDetails()The job details for the failed job entity.List<SdkField<?>>sdkFields()static Class<? extends GetJobEntityError.Builder>serializableBuilderClass()StepDetailsErrorstepDetails()The step details for the failed job entity.GetJobEntityError.BuildertoBuilder()StringtoString()Returns a string representation of this object.GetJobEntityError.Typetype()Retrieve an enum value representing which member of this object is populated.-
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
-
environmentDetails
public final EnvironmentDetailsError environmentDetails()
The environment details for the failed job entity.
- Returns:
- The environment details for the failed job entity.
-
jobAttachmentDetails
public final JobAttachmentDetailsError jobAttachmentDetails()
The job attachment details for the failed job entity.
- Returns:
- The job attachment details for the failed job entity.
-
jobDetails
public final JobDetailsError jobDetails()
The job details for the failed job entity.
- Returns:
- The job details for the failed job entity.
-
stepDetails
public final StepDetailsError stepDetails()
The step details for the failed job entity.
- Returns:
- The step details for the failed job entity.
-
toBuilder
public GetJobEntityError.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetJobEntityError.Builder,GetJobEntityError>
-
builder
public static GetJobEntityError.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetJobEntityError.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
fromEnvironmentDetails
public static GetJobEntityError fromEnvironmentDetails(EnvironmentDetailsError environmentDetails)
Create an instance of this class withenvironmentDetails()initialized to the given value.The environment details for the failed job entity.
- Parameters:
environmentDetails- The environment details for the failed job entity.
-
fromEnvironmentDetails
public static GetJobEntityError fromEnvironmentDetails(Consumer<EnvironmentDetailsError.Builder> environmentDetails)
Create an instance of this class withenvironmentDetails()initialized to the given value.The environment details for the failed job entity.
- Parameters:
environmentDetails- The environment details for the failed job entity.
-
fromJobAttachmentDetails
public static GetJobEntityError fromJobAttachmentDetails(JobAttachmentDetailsError jobAttachmentDetails)
Create an instance of this class withjobAttachmentDetails()initialized to the given value.The job attachment details for the failed job entity.
- Parameters:
jobAttachmentDetails- The job attachment details for the failed job entity.
-
fromJobAttachmentDetails
public static GetJobEntityError fromJobAttachmentDetails(Consumer<JobAttachmentDetailsError.Builder> jobAttachmentDetails)
Create an instance of this class withjobAttachmentDetails()initialized to the given value.The job attachment details for the failed job entity.
- Parameters:
jobAttachmentDetails- The job attachment details for the failed job entity.
-
fromJobDetails
public static GetJobEntityError fromJobDetails(JobDetailsError jobDetails)
Create an instance of this class withjobDetails()initialized to the given value.The job details for the failed job entity.
- Parameters:
jobDetails- The job details for the failed job entity.
-
fromJobDetails
public static GetJobEntityError fromJobDetails(Consumer<JobDetailsError.Builder> jobDetails)
Create an instance of this class withjobDetails()initialized to the given value.The job details for the failed job entity.
- Parameters:
jobDetails- The job details for the failed job entity.
-
fromStepDetails
public static GetJobEntityError fromStepDetails(StepDetailsError stepDetails)
Create an instance of this class withstepDetails()initialized to the given value.The step details for the failed job entity.
- Parameters:
stepDetails- The step details for the failed job entity.
-
fromStepDetails
public static GetJobEntityError fromStepDetails(Consumer<StepDetailsError.Builder> stepDetails)
Create an instance of this class withstepDetails()initialized to the given value.The step details for the failed job entity.
- Parameters:
stepDetails- The step details for the failed job entity.
-
type
public GetJobEntityError.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beGetJobEntityError.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beGetJobEntityError.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-