com.amazonaws.services.importexport.model
Class CreateJobResult

java.lang.Object
  extended by com.amazonaws.services.importexport.model.CreateJobResult

public class CreateJobResult
extends java.lang.Object

Output structure for the CreateJob operation.


Constructor Summary
CreateJobResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAwsShippingAddress()
          Address you ship your storage device to.
 java.lang.String getJobId()
          A unique identifier which refers to a particular job.
 java.lang.String getJobType()
          Specifies whether the job to initiate is an import or export job.
 java.lang.String getSignature()
          An encrypted code used to authenticate the request and response, for example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=".
 java.lang.String getSignatureFileContents()
          The actual text of the SIGNATURE file to be written to disk.
 java.lang.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 setAwsShippingAddress(java.lang.String awsShippingAddress)
          Address you ship your storage device to.
 void setJobId(java.lang.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(java.lang.String jobType)
          Specifies whether the job to initiate is an import or export job.
 void setSignature(java.lang.String signature)
          An encrypted code used to authenticate the request and response, for example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=".
 void setSignatureFileContents(java.lang.String signatureFileContents)
          The actual text of the SIGNATURE file to be written to disk.
 void setWarningMessage(java.lang.String warningMessage)
          An optional message notifying you of non-fatal issues with the job, such as use of an incompatible Amazon S3 bucket name.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateJobResult withAwsShippingAddress(java.lang.String awsShippingAddress)
          Address you ship your storage device to.
 CreateJobResult withJobId(java.lang.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(java.lang.String jobType)
          Specifies whether the job to initiate is an import or export job.
 CreateJobResult withSignature(java.lang.String signature)
          An encrypted code used to authenticate the request and response, for example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=".
 CreateJobResult withSignatureFileContents(java.lang.String signatureFileContents)
          The actual text of the SIGNATURE file to be written to disk.
 CreateJobResult withWarningMessage(java.lang.String warningMessage)
          An optional message notifying you of non-fatal issues with the job, such as use of an incompatible Amazon S3 bucket name.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateJobResult

public CreateJobResult()
Method Detail

getJobId

public java.lang.String getJobId()
A unique identifier which refers to a particular job.

Returns:
A unique identifier which refers to a particular job.

setJobId

public void setJobId(java.lang.String jobId)
A unique identifier which refers to a particular job.

Parameters:
jobId - A unique identifier which refers to a particular job.

withJobId

public CreateJobResult withJobId(java.lang.String jobId)
A unique identifier which refers to a particular job.

Returns a reference to this object so that method calls can be chained together.

Parameters:
jobId - A unique identifier which refers to a particular job.
Returns:
A reference to this updated object so that method calls can be chained together.

getJobType

public java.lang.String getJobType()
Specifies whether the job to initiate is an import or export job.

Constraints:
Allowed Values: Import, Export

Returns:
Specifies whether the job to initiate is an import or export job.
See Also:
JobType

setJobType

public void setJobType(java.lang.String jobType)
Specifies whether the job to initiate is an import or export job.

Constraints:
Allowed Values: Import, Export

Parameters:
jobType - Specifies whether the job to initiate is an import or export job.
See Also:
JobType

withJobType

public CreateJobResult withJobType(java.lang.String jobType)
Specifies whether the job to initiate is an import or export job.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: Import, Export

Parameters:
jobType - Specifies whether the job to initiate is an import or export job.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
JobType

setJobType

public void setJobType(JobType jobType)
Specifies whether the job to initiate is an import or export job.

Constraints:
Allowed Values: Import, Export

Parameters:
jobType - Specifies whether the job to initiate is an import or export job.
See Also:
JobType

withJobType

public CreateJobResult withJobType(JobType jobType)
Specifies whether the job to initiate is an import or export job.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: Import, Export

Parameters:
jobType - Specifies whether the job to initiate is an import or export job.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
JobType

getAwsShippingAddress

public java.lang.String getAwsShippingAddress()
Address you ship your storage device to.

Returns:
Address you ship your storage device to.

setAwsShippingAddress

public void setAwsShippingAddress(java.lang.String awsShippingAddress)
Address you ship your storage device to.

Parameters:
awsShippingAddress - Address you ship your storage device to.

withAwsShippingAddress

public CreateJobResult withAwsShippingAddress(java.lang.String awsShippingAddress)
Address you ship your storage device to.

Returns a reference to this object so that method calls can be chained together.

Parameters:
awsShippingAddress - Address you ship your storage device to.
Returns:
A reference to this updated object so that method calls can be chained together.

getSignature

public java.lang.String getSignature()
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.

Returns:
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.

setSignature

public void setSignature(java.lang.String 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.

Parameters:
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.

withSignature

public CreateJobResult withSignature(java.lang.String 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getSignatureFileContents

public java.lang.String getSignatureFileContents()
The actual text of the SIGNATURE file to be written to disk.

Returns:
The actual text of the SIGNATURE file to be written to disk.

setSignatureFileContents

public void setSignatureFileContents(java.lang.String signatureFileContents)
The actual text of the SIGNATURE file to be written to disk.

Parameters:
signatureFileContents - The actual text of the SIGNATURE file to be written to disk.

withSignatureFileContents

public CreateJobResult withSignatureFileContents(java.lang.String signatureFileContents)
The actual text of the SIGNATURE file to be written to disk.

Returns a reference to this object so that method calls can be chained together.

Parameters:
signatureFileContents - The actual text of the SIGNATURE file to be written to disk.
Returns:
A reference to this updated object so that method calls can be chained together.

getWarningMessage

public java.lang.String getWarningMessage()
An optional message notifying you of non-fatal issues with the job, such as use of an incompatible Amazon S3 bucket name.

Returns:
An optional message notifying you of non-fatal issues with the job, such as use of an incompatible Amazon S3 bucket name.

setWarningMessage

public void setWarningMessage(java.lang.String warningMessage)
An optional message notifying you of non-fatal issues with the job, such as use of an incompatible Amazon S3 bucket name.

Parameters:
warningMessage - An optional message notifying you of non-fatal issues with the job, such as use of an incompatible Amazon S3 bucket name.

withWarningMessage

public CreateJobResult withWarningMessage(java.lang.String warningMessage)
An optional message notifying you of non-fatal issues with the job, such as use of an incompatible Amazon S3 bucket name.

Returns a reference to this object so that method calls can be chained together.

Parameters:
warningMessage - An optional message notifying you of non-fatal issues with the job, such as use of an incompatible Amazon S3 bucket name.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.