Interface GetImageAncestryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetImageAncestryResponse.Builder,GetImageAncestryResponse>,Ec2Response.Builder,SdkBuilder<GetImageAncestryResponse.Builder,GetImageAncestryResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetImageAncestryResponse
@Mutable @NotThreadSafe public static interface GetImageAncestryResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetImageAncestryResponse.Builder,GetImageAncestryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetImageAncestryResponse.BuilderimageAncestryEntries(Collection<ImageAncestryEntry> imageAncestryEntries)A list of entries in the AMI ancestry chain, from the specified AMI to the root AMI.GetImageAncestryResponse.BuilderimageAncestryEntries(Consumer<ImageAncestryEntry.Builder>... imageAncestryEntries)A list of entries in the AMI ancestry chain, from the specified AMI to the root AMI.GetImageAncestryResponse.BuilderimageAncestryEntries(ImageAncestryEntry... imageAncestryEntries)A list of entries in the AMI ancestry chain, from the specified AMI to the root AMI.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
imageAncestryEntries
GetImageAncestryResponse.Builder imageAncestryEntries(Collection<ImageAncestryEntry> imageAncestryEntries)
A list of entries in the AMI ancestry chain, from the specified AMI to the root AMI.
- Parameters:
imageAncestryEntries- A list of entries in the AMI ancestry chain, from the specified AMI to the root AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageAncestryEntries
GetImageAncestryResponse.Builder imageAncestryEntries(ImageAncestryEntry... imageAncestryEntries)
A list of entries in the AMI ancestry chain, from the specified AMI to the root AMI.
- Parameters:
imageAncestryEntries- A list of entries in the AMI ancestry chain, from the specified AMI to the root AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageAncestryEntries
GetImageAncestryResponse.Builder imageAncestryEntries(Consumer<ImageAncestryEntry.Builder>... imageAncestryEntries)
A list of entries in the AMI ancestry chain, from the specified AMI to the root AMI.
This is a convenience method that creates an instance of theImageAncestryEntry.Builderavoiding the need to create one manually viaImageAncestryEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#imageAncestryEntries(List.) - Parameters:
imageAncestryEntries- a consumer that will call methods onImageAncestryEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#imageAncestryEntries(java.util.Collection)
-
-