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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OutputResources.Builderamis(Collection<Ami> amis)The Amazon EC2 AMIs created by this image.OutputResources.Builderamis(Consumer<Ami.Builder>... amis)The Amazon EC2 AMIs created by this image.OutputResources.Builderamis(Ami... amis)The Amazon EC2 AMIs created by this image.OutputResources.Buildercontainers(Collection<Container> containers)Container images that the pipeline has generated and stored in the output repository.OutputResources.Buildercontainers(Consumer<Container.Builder>... containers)Container images that the pipeline has generated and stored in the output repository.OutputResources.Buildercontainers(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 Detail
-
amis
OutputResources.Builder amis(Collection<Ami> 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
OutputResources.Builder amis(Ami... 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
OutputResources.Builder amis(Consumer<Ami.Builder>... amis)
The Amazon EC2 AMIs created by this image.
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 to#amis(List.) - 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:
#amis(java.util.Collection)
-
containers
OutputResources.Builder containers(Collection<Container> 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
OutputResources.Builder containers(Container... 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
OutputResources.Builder containers(Consumer<Container.Builder>... 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.Builderavoiding the need to create one manually viaContainer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#containers(List.) - 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:
#containers(java.util.Collection)
-
-