Interface GetImageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetImageResponse.Builder,,GetImageResponse> ImagebuilderResponse.Builder,SdkBuilder<GetImageResponse.Builder,,GetImageResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetImageResponse
@Mutable
@NotThreadSafe
public static interface GetImageResponse.Builder
extends ImagebuilderResponse.Builder, SdkPojo, CopyableBuilder<GetImageResponse.Builder,GetImageResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetImageResponse.Builderimage(Consumer<Image.Builder> image) The image object.The image object.default GetImageResponse.BuilderlatestVersionReferences(Consumer<LatestVersionReferences.Builder> latestVersionReferences) The resource ARNs with different wildcard variations of semantic versioning.latestVersionReferences(LatestVersionReferences latestVersionReferences) The resource ARNs with different wildcard variations of semantic versioning.The request ID that uniquely identifies this request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.imagebuilder.model.ImagebuilderResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
requestId
The request ID that uniquely identifies this request.
- Parameters:
requestIdValue- The request ID that uniquely identifies this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
image
The image object.
- Parameters:
image- The image object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
image
The image object.
This is a convenience method that creates an instance of theImage.Builderavoiding the need to create one manually viaImage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimage(Image).- Parameters:
image- a consumer that will call methods onImage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
latestVersionReferences
The resource ARNs with different wildcard variations of semantic versioning.
- Parameters:
latestVersionReferences- The resource ARNs with different wildcard variations of semantic versioning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestVersionReferences
default GetImageResponse.Builder latestVersionReferences(Consumer<LatestVersionReferences.Builder> latestVersionReferences) The resource ARNs with different wildcard variations of semantic versioning.
This is a convenience method that creates an instance of theLatestVersionReferences.Builderavoiding the need to create one manually viaLatestVersionReferences.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolatestVersionReferences(LatestVersionReferences).- Parameters:
latestVersionReferences- a consumer that will call methods onLatestVersionReferences.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-