public class UpdateJobResult extends Object implements Serializable, Cloneable
Output structure for the UpateJob operation.
Constructor and Description |
---|
UpdateJobResult() |
Modifier and Type | Method and Description |
---|---|
UpdateJobResult |
clone() |
boolean |
equals(Object obj) |
List<Artifact> |
getArtifactList()
A collection of artifacts.
|
Boolean |
getSuccess()
Specifies whether (true) or not (false) AWS Import/Export updated your
job.
|
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() |
Boolean |
isSuccess()
Specifies whether (true) or not (false) AWS Import/Export updated your
job.
|
void |
setArtifactList(Collection<Artifact> artifactList)
A collection of artifacts.
|
void |
setSuccess(Boolean success)
Specifies whether (true) or not (false) AWS Import/Export updated your
job.
|
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.
|
UpdateJobResult |
withArtifactList(Artifact... artifactList)
A collection of artifacts.
|
UpdateJobResult |
withArtifactList(Collection<Artifact> artifactList)
A collection of artifacts.
|
UpdateJobResult |
withSuccess(Boolean success)
Specifies whether (true) or not (false) AWS Import/Export updated your
job.
|
UpdateJobResult |
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 Boolean isSuccess()
public void setSuccess(Boolean success)
success
- Specifies whether (true) or not (false) AWS Import/Export updated your
job.public UpdateJobResult withSuccess(Boolean success)
Returns a reference to this object so that method calls can be chained together.
success
- Specifies whether (true) or not (false) AWS Import/Export updated your
job.public Boolean getSuccess()
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 UpdateJobResult 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 UpdateJobResult 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 UpdateJobResult 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 Object
Object.toString()
public UpdateJobResult clone()
Copyright © 2015. All rights reserved.