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 UpdateJobResult
clone()
boolean
equals(Object obj)
List<Artifact>
getArtifactList()
Boolean
getSuccess()
String
getWarningMessage()
int
hashCode()
Boolean
isSuccess()
void
setArtifactList(Collection<Artifact> artifactList)
void
setSuccess(Boolean success)
void
setWarningMessage(String warningMessage)
String
toString()
Returns a string representation of this object; useful for testing and debugging.UpdateJobResult
withArtifactList(Artifact... artifactList)
NOTE: This method appends the values to the existing list (if any).UpdateJobResult
withArtifactList(Collection<Artifact> artifactList)
UpdateJobResult
withSuccess(Boolean success)
UpdateJobResult
withWarningMessage(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateJobResult clone()
-
-