Interface OutputResources.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OutputResources.Builder,,OutputResources> SdkBuilder<OutputResources.Builder,,OutputResources> SdkPojo
- Enclosing class:
OutputResources
-
Method Summary
Modifier and TypeMethodDescriptionamis(Collection<Ami> amis) The Amazon EC2 AMIs created by this image.amis(Consumer<Ami.Builder>... amis) The Amazon EC2 AMIs created by this image.The Amazon EC2 AMIs created by this image.containers(Collection<Container> containers) The container images that Image Builder created when it built this image, stored in the output Amazon ECR repository.containers(Consumer<Container.Builder>... containers) The container images that Image Builder created when it built this image, stored in the output Amazon ECR repository.containers(Container... containers) The container images that Image Builder created when it built this image, stored in the output Amazon ECR repository.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
-
amis
The Amazon EC2 AMIs created by this image. The list contains one entry per AMI, including copies that distribution created in each target Amazon Web Services Region and account.
- Parameters:
amis- The Amazon EC2 AMIs created by this image. The list contains one entry per AMI, including copies that distribution created in each target Amazon Web Services Region and account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amis
The Amazon EC2 AMIs created by this image. The list contains one entry per AMI, including copies that distribution created in each target Amazon Web Services Region and account.
- Parameters:
amis- The Amazon EC2 AMIs created by this image. The list contains one entry per AMI, including copies that distribution created in each target Amazon Web Services Region and account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amis
The Amazon EC2 AMIs created by this image. The list contains one entry per AMI, including copies that distribution created in each target Amazon Web Services Region and account.
This is a convenience method that creates an instance of theAmi.Builderavoiding the need to create one manually viaAmi.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toamis(List<Ami>).- Parameters:
amis- a consumer that will call methods onAmi.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containers
The container images that Image Builder created when it built this image, stored in the output Amazon ECR repository.
- Parameters:
containers- The container images that Image Builder created when it built this image, stored in the output Amazon ECR repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
The container images that Image Builder created when it built this image, stored in the output Amazon ECR repository.
- Parameters:
containers- The container images that Image Builder created when it built this image, stored in the output Amazon ECR repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
The container images that Image Builder created when it built this image, stored in the output Amazon ECR repository.
This is a convenience method that creates an instance of theContainer.Builderavoiding the need to create one manually viaContainer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainers(List<Container>).- Parameters:
containers- a consumer that will call methods onContainer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-