public class JobResource extends Object implements Serializable, Cloneable
Contains an array of S3Resource 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()
An array of
S3Resource objects. |
int |
hashCode() |
void |
setS3Resources(Collection<S3Resource> s3Resources)
An array of
S3Resource objects. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
JobResource |
withS3Resources(Collection<S3Resource> s3Resources)
An array of
S3Resource objects. |
JobResource |
withS3Resources(S3Resource... s3Resources)
An array of
S3Resource objects. |
public List<S3Resource> getS3Resources()
An array of S3Resource objects.
S3Resource objects.public void setS3Resources(Collection<S3Resource> s3Resources)
An array of S3Resource objects.
s3Resources - An array of S3Resource objects.public JobResource withS3Resources(S3Resource... s3Resources)
An array of S3Resource objects.
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 - An array of S3Resource objects.public JobResource withS3Resources(Collection<S3Resource> s3Resources)
An array of S3Resource objects.
s3Resources - An array of S3Resource objects.public String toString()
toString in class ObjectObject.toString()public JobResource clone()
Copyright © 2016. All rights reserved.