@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetTransformerJobResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetTransformerJobResult() |
Modifier and Type | Method and Description |
---|---|
GetTransformerJobResult |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
Returns an optional error message, which gets populated when the job is not run successfully.
|
List<S3Location> |
getOutputFiles()
Returns the location for the output files.
|
String |
getStatus()
Returns the current state of the transformer job, either
running , succeeded , or
failed . |
int |
hashCode() |
void |
setMessage(String message)
Returns an optional error message, which gets populated when the job is not run successfully.
|
void |
setOutputFiles(Collection<S3Location> outputFiles)
Returns the location for the output files.
|
void |
setStatus(String status)
Returns the current state of the transformer job, either
running , succeeded , or
failed . |
String |
toString()
Returns a string representation of this object.
|
GetTransformerJobResult |
withMessage(String message)
Returns an optional error message, which gets populated when the job is not run successfully.
|
GetTransformerJobResult |
withOutputFiles(Collection<S3Location> outputFiles)
Returns the location for the output files.
|
GetTransformerJobResult |
withOutputFiles(S3Location... outputFiles)
Returns the location for the output files.
|
GetTransformerJobResult |
withStatus(String status)
Returns the current state of the transformer job, either
running , succeeded , or
failed . |
GetTransformerJobResult |
withStatus(TransformerJobStatus status)
Returns the current state of the transformer job, either
running , succeeded , or
failed . |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setStatus(String status)
Returns the current state of the transformer job, either running
, succeeded
, or
failed
.
status
- Returns the current state of the transformer job, either running
, succeeded
, or
failed
.TransformerJobStatus
public String getStatus()
Returns the current state of the transformer job, either running
, succeeded
, or
failed
.
running
, succeeded
, or
failed
.TransformerJobStatus
public GetTransformerJobResult withStatus(String status)
Returns the current state of the transformer job, either running
, succeeded
, or
failed
.
status
- Returns the current state of the transformer job, either running
, succeeded
, or
failed
.TransformerJobStatus
public GetTransformerJobResult withStatus(TransformerJobStatus status)
Returns the current state of the transformer job, either running
, succeeded
, or
failed
.
status
- Returns the current state of the transformer job, either running
, succeeded
, or
failed
.TransformerJobStatus
public List<S3Location> getOutputFiles()
Returns the location for the output files. If the caller specified a directory for the output, then this contains the full path to the output file, including the file name generated by the service.
public void setOutputFiles(Collection<S3Location> outputFiles)
Returns the location for the output files. If the caller specified a directory for the output, then this contains the full path to the output file, including the file name generated by the service.
outputFiles
- Returns the location for the output files. If the caller specified a directory for the output, then this
contains the full path to the output file, including the file name generated by the service.public GetTransformerJobResult withOutputFiles(S3Location... outputFiles)
Returns the location for the output files. If the caller specified a directory for the output, then this contains the full path to the output file, including the file name generated by the service.
NOTE: This method appends the values to the existing list (if any). Use
setOutputFiles(java.util.Collection)
or withOutputFiles(java.util.Collection)
if you want to
override the existing values.
outputFiles
- Returns the location for the output files. If the caller specified a directory for the output, then this
contains the full path to the output file, including the file name generated by the service.public GetTransformerJobResult withOutputFiles(Collection<S3Location> outputFiles)
Returns the location for the output files. If the caller specified a directory for the output, then this contains the full path to the output file, including the file name generated by the service.
outputFiles
- Returns the location for the output files. If the caller specified a directory for the output, then this
contains the full path to the output file, including the file name generated by the service.public void setMessage(String message)
Returns an optional error message, which gets populated when the job is not run successfully.
message
- Returns an optional error message, which gets populated when the job is not run successfully.public String getMessage()
Returns an optional error message, which gets populated when the job is not run successfully.
public GetTransformerJobResult withMessage(String message)
Returns an optional error message, which gets populated when the job is not run successfully.
message
- Returns an optional error message, which gets populated when the job is not run successfully.public String toString()
toString
in class Object
Object.toString()
public GetTransformerJobResult clone()