public class JobResource extends Object implements Serializable, Cloneable
Contains an array of S3Resources
objects. Each
S3Resource
object represents an Amazon S3 bucket that your
transferred data will be exported from or imported into.
Constructor and Description |
---|
JobResource() |
Modifier and Type | Method and Description |
---|---|
JobResource |
clone() |
boolean |
equals(Object obj) |
List<S3Resource> |
getS3Resources() |
int |
hashCode() |
void |
setS3Resources(Collection<S3Resource> s3Resources) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
JobResource |
withS3Resources(Collection<S3Resource> s3Resources) |
JobResource |
withS3Resources(S3Resource... s3Resources) |
public List<S3Resource> getS3Resources()
public void setS3Resources(Collection<S3Resource> s3Resources)
s3Resources
- public JobResource withS3Resources(S3Resource... s3Resources)
NOTE: This method appends the values to the existing list (if
any). Use setS3Resources(java.util.Collection)
or
withS3Resources(java.util.Collection)
if you want to override
the existing values.
s3Resources
- public JobResource withS3Resources(Collection<S3Resource> s3Resources)
s3Resources
- public String toString()
toString
in class Object
Object.toString()
public JobResource clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.