Class Job
- java.lang.Object
-
- software.amazon.awssdk.services.codepipeline.model.Job
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Job.Builder,Job>
@Generated("software.amazon.awssdk:codegen") public final class Job extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Job.Builder,Job>
Represents information about a job.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJob.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The ID of the Amazon Web Services account to use when performing the job.static Job.Builderbuilder()JobDatadata()Other data about a job.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique system-generated ID of the job.Stringnonce()A system-generated random number that CodePipeline uses to ensure that the job is being worked on by only one job worker.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Job.Builder>serializableBuilderClass()Job.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
id
public final String id()
The unique system-generated ID of the job.
- Returns:
- The unique system-generated ID of the job.
-
data
public final JobData data()
Other data about a job.
- Returns:
- Other data about a job.
-
nonce
public final String nonce()
A system-generated random number that CodePipeline uses to ensure that the job is being worked on by only one job worker. Use this number in an AcknowledgeJob request.
- Returns:
- A system-generated random number that CodePipeline uses to ensure that the job is being worked on by only one job worker. Use this number in an AcknowledgeJob request.
-
accountId
public final String accountId()
The ID of the Amazon Web Services account to use when performing the job.
- Returns:
- The ID of the Amazon Web Services account to use when performing the job.
-
toBuilder
public Job.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Job.Builder,Job>
-
builder
public static Job.Builder builder()
-
serializableBuilderClass
public static Class<? extends Job.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-