Class UpdateJobResult
- java.lang.Object
-
- com.amazonaws.services.importexport.model.UpdateJobResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class UpdateJobResult extends Object implements Serializable, Cloneable
Output structure for the UpateJob operation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateJobResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateJobResultclone()booleanequals(Object obj)List<Artifact>getArtifactList()BooleangetSuccess()StringgetWarningMessage()inthashCode()BooleanisSuccess()voidsetArtifactList(Collection<Artifact> artifactList)voidsetSuccess(Boolean success)voidsetWarningMessage(String warningMessage)StringtoString()Returns a string representation of this object; useful for testing and debugging.UpdateJobResultwithArtifactList(Artifact... artifactList)NOTE: This method appends the values to the existing list (if any).UpdateJobResultwithArtifactList(Collection<Artifact> artifactList)UpdateJobResultwithSuccess(Boolean success)UpdateJobResultwithWarningMessage(String warningMessage)
-
-
-
Method Detail
-
setSuccess
public void setSuccess(Boolean success)
- Parameters:
success-
-
getSuccess
public Boolean getSuccess()
- Returns:
-
withSuccess
public UpdateJobResult withSuccess(Boolean success)
- Parameters:
success-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isSuccess
public Boolean isSuccess()
- Returns:
-
setWarningMessage
public void setWarningMessage(String warningMessage)
- Parameters:
warningMessage-
-
getWarningMessage
public String getWarningMessage()
- Returns:
-
withWarningMessage
public UpdateJobResult withWarningMessage(String warningMessage)
- Parameters:
warningMessage-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setArtifactList
public void setArtifactList(Collection<Artifact> artifactList)
- Parameters:
artifactList-
-
withArtifactList
public UpdateJobResult withArtifactList(Artifact... artifactList)
NOTE: This method appends the values to the existing list (if any). Use
setArtifactList(java.util.Collection)orwithArtifactList(java.util.Collection)if you want to override the existing values.- Parameters:
artifactList-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withArtifactList
public UpdateJobResult withArtifactList(Collection<Artifact> artifactList)
- Parameters:
artifactList-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateJobResult clone()
-
-