Interface CreateContainerRecipeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateContainerRecipeResponse.Builder,,CreateContainerRecipeResponse> ImagebuilderResponse.Builder,SdkBuilder<CreateContainerRecipeResponse.Builder,,CreateContainerRecipeResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateContainerRecipeResponse
@Mutable
@NotThreadSafe
public static interface CreateContainerRecipeResponse.Builder
extends ImagebuilderResponse.Builder, SdkPojo, CopyableBuilder<CreateContainerRecipeResponse.Builder,CreateContainerRecipeResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) The client token that uniquely identifies the request.containerRecipeArn(String containerRecipeArn) Returns the Amazon Resource Name (ARN) of the container recipe that the request created.latestVersionReferences(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.
-
clientToken
The client token that uniquely identifies the request.
- Parameters:
clientToken- The client token that uniquely identifies the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerRecipeArn
Returns the Amazon Resource Name (ARN) of the container recipe that the request created.
- Parameters:
containerRecipeArn- Returns the Amazon Resource Name (ARN) of the container recipe that the request created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestVersionReferences
CreateContainerRecipeResponse.Builder latestVersionReferences(LatestVersionReferences 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 CreateContainerRecipeResponse.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:
-