Interface JobResource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<JobResource.Builder,,JobResource> SdkBuilder<JobResource.Builder,,JobResource> SdkPojo
- Enclosing class:
JobResource
-
Method Summary
Modifier and TypeMethodDescriptionec2AmiResources(Collection<Ec2AmiResource> ec2AmiResources) The Amazon Machine Images (AMIs) associated with this job.ec2AmiResources(Consumer<Ec2AmiResource.Builder>... ec2AmiResources) The Amazon Machine Images (AMIs) associated with this job.ec2AmiResources(Ec2AmiResource... ec2AmiResources) The Amazon Machine Images (AMIs) associated with this job.lambdaResources(Collection<LambdaResource> lambdaResources) The Python-language Lambda functions for this job.lambdaResources(Consumer<LambdaResource.Builder>... lambdaResources) The Python-language Lambda functions for this job.lambdaResources(LambdaResource... lambdaResources) The Python-language Lambda functions for this job.s3Resources(Collection<S3Resource> s3Resources) An array ofS3Resourceobjects.s3Resources(Consumer<S3Resource.Builder>... s3Resources) An array ofS3Resourceobjects.s3Resources(S3Resource... s3Resources) An array ofS3Resourceobjects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
s3Resources
An array of
S3Resourceobjects.- Parameters:
s3Resources- An array ofS3Resourceobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Resources
An array of
S3Resourceobjects.- Parameters:
s3Resources- An array ofS3Resourceobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Resources
An array of
This is a convenience method that creates an instance of theS3Resourceobjects.S3Resource.Builderavoiding the need to create one manually viaS3Resource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Resources(List<S3Resource>).- Parameters:
s3Resources- a consumer that will call methods onS3Resource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambdaResources
The Python-language Lambda functions for this job.
- Parameters:
lambdaResources- The Python-language Lambda functions for this job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaResources
The Python-language Lambda functions for this job.
- Parameters:
lambdaResources- The Python-language Lambda functions for this job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaResources
The Python-language Lambda functions for this job.
This is a convenience method that creates an instance of theLambdaResource.Builderavoiding the need to create one manually viaLambdaResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolambdaResources(List<LambdaResource>).- Parameters:
lambdaResources- a consumer that will call methods onLambdaResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ec2AmiResources
The Amazon Machine Images (AMIs) associated with this job.
- Parameters:
ec2AmiResources- The Amazon Machine Images (AMIs) associated with this job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2AmiResources
The Amazon Machine Images (AMIs) associated with this job.
- Parameters:
ec2AmiResources- The Amazon Machine Images (AMIs) associated with this job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2AmiResources
The Amazon Machine Images (AMIs) associated with this job.
This is a convenience method that creates an instance of theEc2AmiResource.Builderavoiding the need to create one manually viaEc2AmiResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toec2AmiResources(List<Ec2AmiResource>).- Parameters:
ec2AmiResources- a consumer that will call methods onEc2AmiResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-