@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobResource extends Object implements Serializable, Cloneable, StructuredPojo
Contains an array of Amazon Web Services resource objects. Each object represents an Amazon S3 bucket, an Lambda function, or an Amazon Machine Image (AMI) based on Amazon EC2 that is associated with a particular job.
| Constructor and Description |
|---|
JobResource() |
| Modifier and Type | Method and Description |
|---|---|
JobResource |
clone() |
boolean |
equals(Object obj) |
List<Ec2AmiResource> |
getEc2AmiResources()
The Amazon Machine Images (AMIs) associated with this job.
|
List<LambdaResource> |
getLambdaResources()
The Python-language Lambda functions for this job.
|
List<S3Resource> |
getS3Resources()
An array of
S3Resource objects. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEc2AmiResources(Collection<Ec2AmiResource> ec2AmiResources)
The Amazon Machine Images (AMIs) associated with this job.
|
void |
setLambdaResources(Collection<LambdaResource> lambdaResources)
The Python-language Lambda functions for this job.
|
void |
setS3Resources(Collection<S3Resource> s3Resources)
An array of
S3Resource objects. |
String |
toString()
Returns a string representation of this object.
|
JobResource |
withEc2AmiResources(Collection<Ec2AmiResource> ec2AmiResources)
The Amazon Machine Images (AMIs) associated with this job.
|
JobResource |
withEc2AmiResources(Ec2AmiResource... ec2AmiResources)
The Amazon Machine Images (AMIs) associated with this job.
|
JobResource |
withLambdaResources(Collection<LambdaResource> lambdaResources)
The Python-language Lambda functions for this job.
|
JobResource |
withLambdaResources(LambdaResource... lambdaResources)
The Python-language Lambda functions for this job.
|
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 List<LambdaResource> getLambdaResources()
The Python-language Lambda functions for this job.
public void setLambdaResources(Collection<LambdaResource> lambdaResources)
The Python-language Lambda functions for this job.
lambdaResources - The Python-language Lambda functions for this job.public JobResource withLambdaResources(LambdaResource... lambdaResources)
The Python-language Lambda functions for this job.
NOTE: This method appends the values to the existing list (if any). Use
setLambdaResources(java.util.Collection) or withLambdaResources(java.util.Collection) if you
want to override the existing values.
lambdaResources - The Python-language Lambda functions for this job.public JobResource withLambdaResources(Collection<LambdaResource> lambdaResources)
The Python-language Lambda functions for this job.
lambdaResources - The Python-language Lambda functions for this job.public List<Ec2AmiResource> getEc2AmiResources()
The Amazon Machine Images (AMIs) associated with this job.
public void setEc2AmiResources(Collection<Ec2AmiResource> ec2AmiResources)
The Amazon Machine Images (AMIs) associated with this job.
ec2AmiResources - The Amazon Machine Images (AMIs) associated with this job.public JobResource withEc2AmiResources(Ec2AmiResource... ec2AmiResources)
The Amazon Machine Images (AMIs) associated with this job.
NOTE: This method appends the values to the existing list (if any). Use
setEc2AmiResources(java.util.Collection) or withEc2AmiResources(java.util.Collection) if you
want to override the existing values.
ec2AmiResources - The Amazon Machine Images (AMIs) associated with this job.public JobResource withEc2AmiResources(Collection<Ec2AmiResource> ec2AmiResources)
The Amazon Machine Images (AMIs) associated with this job.
ec2AmiResources - The Amazon Machine Images (AMIs) associated with this job.public String toString()
toString in class ObjectObject.toString()public JobResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.