@Generated(value="software.amazon.awssdk:codegen") public final class Job extends Object implements StructuredPojo, ToCopyableBuilder<Job.Builder,Job>
Represents information about a job.
Modifier and Type | Class and Description |
---|---|
static interface |
Job.Builder |
Modifier and Type | Method and Description |
---|---|
String |
accountId()
The ID of the AWS account to use when performing the job.
|
static Job.Builder |
builder() |
JobData |
data()
Additional data about a job.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique system-generated ID of the job.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
nonce()
A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one
job worker.
|
static Class<? extends Job.Builder> |
serializableBuilderClass() |
Job.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String id()
The unique system-generated ID of the job.
public JobData data()
Additional data about a job.
public String nonce()
A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. Use this number in an AcknowledgeJob request.
public String accountId()
The ID of the AWS account to use when performing the job.
public Job.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Job.Builder,Job>
public static Job.Builder builder()
public static Class<? extends Job.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.