public class CreateJobResult extends Object implements Serializable, Cloneable
Output structure for the CreateJob operation.
| Constructor and Description | 
|---|
| CreateJobResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateJobResult | clone() | 
| boolean | equals(Object obj) | 
| List<Artifact> | getArtifactList()A collection of artifacts. | 
| String | getJobId()A unique identifier which refers to a particular job. | 
| String | getJobType()Specifies whether the job to initiate is an import or export job. | 
| String | getSignature()An encrypted code used to authenticate the request and response, for
 example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=". | 
| String | getSignatureFileContents()The actual text of the SIGNATURE file to be written to disk. | 
| String | getWarningMessage()An optional message notifying you of non-fatal issues with the job,
 such as use of an incompatible Amazon S3 bucket name. | 
| int | hashCode() | 
| void | setArtifactList(Collection<Artifact> artifactList)A collection of artifacts. | 
| void | setJobId(String jobId)A unique identifier which refers to a particular job. | 
| void | setJobType(JobType jobType)Specifies whether the job to initiate is an import or export job. | 
| void | setJobType(String jobType)Specifies whether the job to initiate is an import or export job. | 
| void | setSignature(String signature)An encrypted code used to authenticate the request and response, for
 example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=". | 
| void | setSignatureFileContents(String signatureFileContents)The actual text of the SIGNATURE file to be written to disk. | 
| void | setWarningMessage(String warningMessage)An optional message notifying you of non-fatal issues with the job,
 such as use of an incompatible Amazon S3 bucket name. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| CreateJobResult | withArtifactList(Artifact... artifactList)A collection of artifacts. | 
| CreateJobResult | withArtifactList(Collection<Artifact> artifactList)A collection of artifacts. | 
| CreateJobResult | withJobId(String jobId)A unique identifier which refers to a particular job. | 
| CreateJobResult | withJobType(JobType jobType)Specifies whether the job to initiate is an import or export job. | 
| CreateJobResult | withJobType(String jobType)Specifies whether the job to initiate is an import or export job. | 
| CreateJobResult | withSignature(String signature)An encrypted code used to authenticate the request and response, for
 example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=". | 
| CreateJobResult | withSignatureFileContents(String signatureFileContents)The actual text of the SIGNATURE file to be written to disk. | 
| CreateJobResult | withWarningMessage(String warningMessage)An optional message notifying you of non-fatal issues with the job,
 such as use of an incompatible Amazon S3 bucket name. | 
public String getJobId()
public void setJobId(String jobId)
jobId - A unique identifier which refers to a particular job.public CreateJobResult withJobId(String jobId)
Returns a reference to this object so that method calls can be chained together.
jobId - A unique identifier which refers to a particular job.public String getJobType()
 Constraints:
 Allowed Values: Import, Export
JobTypepublic void setJobType(String jobType)
 Constraints:
 Allowed Values: Import, Export
jobType - Specifies whether the job to initiate is an import or export job.JobTypepublic CreateJobResult withJobType(String jobType)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: Import, Export
jobType - Specifies whether the job to initiate is an import or export job.JobTypepublic void setJobType(JobType jobType)
 Constraints:
 Allowed Values: Import, Export
jobType - Specifies whether the job to initiate is an import or export job.JobTypepublic CreateJobResult withJobType(JobType jobType)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: Import, Export
jobType - Specifies whether the job to initiate is an import or export job.JobTypepublic String getSignature()
public void setSignature(String signature)
signature - An encrypted code used to authenticate the request and response, for
         example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=". Only use this value is you
         want to create the signature file yourself. Generally you should use
         the SignatureFileContents value.public CreateJobResult withSignature(String signature)
Returns a reference to this object so that method calls can be chained together.
signature - An encrypted code used to authenticate the request and response, for
         example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=". Only use this value is you
         want to create the signature file yourself. Generally you should use
         the SignatureFileContents value.public String getSignatureFileContents()
public void setSignatureFileContents(String signatureFileContents)
signatureFileContents - The actual text of the SIGNATURE file to be written to disk.public CreateJobResult withSignatureFileContents(String signatureFileContents)
Returns a reference to this object so that method calls can be chained together.
signatureFileContents - The actual text of the SIGNATURE file to be written to disk.public String getWarningMessage()
public void setWarningMessage(String warningMessage)
warningMessage - An optional message notifying you of non-fatal issues with the job,
         such as use of an incompatible Amazon S3 bucket name.public CreateJobResult withWarningMessage(String warningMessage)
Returns a reference to this object so that method calls can be chained together.
warningMessage - An optional message notifying you of non-fatal issues with the job,
         such as use of an incompatible Amazon S3 bucket name.public List<Artifact> getArtifactList()
public void setArtifactList(Collection<Artifact> artifactList)
artifactList - A collection of artifacts.public CreateJobResult withArtifactList(Artifact... artifactList)
 NOTE: This method appends the values to the existing list (if
 any). Use setArtifactList(java.util.Collection) or withArtifactList(java.util.Collection) if you want to override the
 existing values.
 
Returns a reference to this object so that method calls can be chained together.
artifactList - A collection of artifacts.public CreateJobResult withArtifactList(Collection<Artifact> artifactList)
Returns a reference to this object so that method calls can be chained together.
artifactList - A collection of artifacts.public String toString()
toString in class ObjectObject.toString()public CreateJobResult clone()
Copyright © 2015. All rights reserved.