@Generated(value="software.amazon.awssdk:codegen") public final class JobResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobResource.Builder,JobResource>
Contains an array of AWS resource objects. Each object represents an Amazon S3 bucket, an AWS Lambda function, or an Amazon Machine Image (AMI) based on Amazon EC2 that is associated with a particular job.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JobResource.Builder |
| Modifier and Type | Method and Description |
|---|---|
static JobResource.Builder |
builder() |
List<Ec2AmiResource> |
ec2AmiResources()
The Amazon Machine Images (AMIs) associated with this job.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEc2AmiResources()
Returns true if the Ec2AmiResources property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasLambdaResources()
Returns true if the LambdaResources property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasS3Resources()
Returns true if the S3Resources property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<LambdaResource> |
lambdaResources()
The Python-language Lambda functions for this job.
|
List<S3Resource> |
s3Resources()
An array of
S3Resource objects. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends JobResource.Builder> |
serializableBuilderClass() |
JobResource.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasS3Resources()
public List<S3Resource> s3Resources()
An array of S3Resource objects.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasS3Resources() to see if a value was sent in this field.
S3Resource objects.public boolean hasLambdaResources()
public List<LambdaResource> lambdaResources()
The Python-language Lambda functions for this job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasLambdaResources() to see if a value was sent in this field.
public boolean hasEc2AmiResources()
public List<Ec2AmiResource> ec2AmiResources()
The Amazon Machine Images (AMIs) associated with this job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEc2AmiResources() to see if a value was sent in this field.
public JobResource.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<JobResource.Builder,JobResource>public static JobResource.Builder builder()
public static Class<? extends JobResource.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.