Interface OutputResources.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OutputResources.Builder,
,OutputResources> SdkBuilder<OutputResources.Builder,
,OutputResources> SdkPojo
- Enclosing class:
OutputResources
public static interface OutputResources.Builder
extends SdkPojo, CopyableBuilder<OutputResources.Builder,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) Container images that the pipeline has generated and stored in the output repository.containers
(Consumer<Container.Builder>... containers) Container images that the pipeline has generated and stored in the output repository.containers
(Container... containers) Container images that the pipeline has generated and stored in the output repository.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
amis
The Amazon EC2 AMIs created by this image.
- Parameters:
amis
- The Amazon EC2 AMIs created by this image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amis
The Amazon EC2 AMIs created by this image.
- Parameters:
amis
- The Amazon EC2 AMIs created by this image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amis
The Amazon EC2 AMIs created by this image.
This is a convenience method that creates an instance of theAmi.Builder
avoiding the need to create one manually viaAmi.builder()
.When the
Consumer
completes,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
Container images that the pipeline has generated and stored in the output repository.
- Parameters:
containers
- Container images that the pipeline has generated and stored in the output repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
Container images that the pipeline has generated and stored in the output repository.
- Parameters:
containers
- Container images that the pipeline has generated and stored in the output repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
Container images that the pipeline has generated and stored in the output repository.
This is a convenience method that creates an instance of theContainer.Builder
avoiding the need to create one manually viaContainer.builder()
.When the
Consumer
completes,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:
-