Class JobEntity
- java.lang.Object
-
- software.amazon.awssdk.services.deadline.model.JobEntity
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<JobEntity.Builder,JobEntity>
@Generated("software.amazon.awssdk:codegen") public final class JobEntity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobEntity.Builder,JobEntity>
The details of a job entity.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJobEntity.Builderstatic classJobEntity.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobEntity.Builderbuilder()EnvironmentDetailsEntityenvironmentDetails()The environment details for the job entity.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static JobEntityfromEnvironmentDetails(Consumer<EnvironmentDetailsEntity.Builder> environmentDetails)Create an instance of this class withenvironmentDetails()initialized to the given value.static JobEntityfromEnvironmentDetails(EnvironmentDetailsEntity environmentDetails)Create an instance of this class withenvironmentDetails()initialized to the given value.static JobEntityfromJobAttachmentDetails(Consumer<JobAttachmentDetailsEntity.Builder> jobAttachmentDetails)Create an instance of this class withjobAttachmentDetails()initialized to the given value.static JobEntityfromJobAttachmentDetails(JobAttachmentDetailsEntity jobAttachmentDetails)Create an instance of this class withjobAttachmentDetails()initialized to the given value.static JobEntityfromJobDetails(Consumer<JobDetailsEntity.Builder> jobDetails)Create an instance of this class withjobDetails()initialized to the given value.static JobEntityfromJobDetails(JobDetailsEntity jobDetails)Create an instance of this class withjobDetails()initialized to the given value.static JobEntityfromStepDetails(Consumer<StepDetailsEntity.Builder> stepDetails)Create an instance of this class withstepDetails()initialized to the given value.static JobEntityfromStepDetails(StepDetailsEntity stepDetails)Create an instance of this class withstepDetails()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()JobAttachmentDetailsEntityjobAttachmentDetails()The job attachment details.JobDetailsEntityjobDetails()The job details.List<SdkField<?>>sdkFields()static Class<? extends JobEntity.Builder>serializableBuilderClass()StepDetailsEntitystepDetails()The step details.JobEntity.BuildertoBuilder()StringtoString()Returns a string representation of this object.JobEntity.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 EnvironmentDetailsEntity environmentDetails()
The environment details for the job entity.
- Returns:
- The environment details for the job entity.
-
jobAttachmentDetails
public final JobAttachmentDetailsEntity jobAttachmentDetails()
The job attachment details.
- Returns:
- The job attachment details.
-
jobDetails
public final JobDetailsEntity jobDetails()
The job details.
- Returns:
- The job details.
-
stepDetails
public final StepDetailsEntity stepDetails()
The step details.
- Returns:
- The step details.
-
toBuilder
public JobEntity.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<JobEntity.Builder,JobEntity>
-
builder
public static JobEntity.Builder builder()
-
serializableBuilderClass
public static Class<? extends JobEntity.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 JobEntity fromEnvironmentDetails(EnvironmentDetailsEntity environmentDetails)
Create an instance of this class withenvironmentDetails()initialized to the given value.The environment details for the job entity.
- Parameters:
environmentDetails- The environment details for the job entity.
-
fromEnvironmentDetails
public static JobEntity fromEnvironmentDetails(Consumer<EnvironmentDetailsEntity.Builder> environmentDetails)
Create an instance of this class withenvironmentDetails()initialized to the given value.The environment details for the job entity.
- Parameters:
environmentDetails- The environment details for the job entity.
-
fromJobAttachmentDetails
public static JobEntity fromJobAttachmentDetails(JobAttachmentDetailsEntity jobAttachmentDetails)
Create an instance of this class withjobAttachmentDetails()initialized to the given value.The job attachment details.
- Parameters:
jobAttachmentDetails- The job attachment details.
-
fromJobAttachmentDetails
public static JobEntity fromJobAttachmentDetails(Consumer<JobAttachmentDetailsEntity.Builder> jobAttachmentDetails)
Create an instance of this class withjobAttachmentDetails()initialized to the given value.The job attachment details.
- Parameters:
jobAttachmentDetails- The job attachment details.
-
fromJobDetails
public static JobEntity fromJobDetails(JobDetailsEntity jobDetails)
Create an instance of this class withjobDetails()initialized to the given value.The job details.
- Parameters:
jobDetails- The job details.
-
fromJobDetails
public static JobEntity fromJobDetails(Consumer<JobDetailsEntity.Builder> jobDetails)
Create an instance of this class withjobDetails()initialized to the given value.The job details.
- Parameters:
jobDetails- The job details.
-
fromStepDetails
public static JobEntity fromStepDetails(StepDetailsEntity stepDetails)
Create an instance of this class withstepDetails()initialized to the given value.The step details.
- Parameters:
stepDetails- The step details.
-
fromStepDetails
public static JobEntity fromStepDetails(Consumer<StepDetailsEntity.Builder> stepDetails)
Create an instance of this class withstepDetails()initialized to the given value.The step details.
- Parameters:
stepDetails- The step details.
-
type
public JobEntity.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 beJobEntity.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 beJobEntity.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-