Interface CreateWorkflowResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateWorkflowResponse.Builder,,CreateWorkflowResponse> ImagebuilderResponse.Builder,SdkBuilder<CreateWorkflowResponse.Builder,,CreateWorkflowResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateWorkflowResponse
@Mutable
@NotThreadSafe
public static interface CreateWorkflowResponse.Builder
extends ImagebuilderResponse.Builder, SdkPojo, CopyableBuilder<CreateWorkflowResponse.Builder,CreateWorkflowResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) The client token that uniquely identifies the request.default CreateWorkflowResponse.BuilderlatestVersionReferences(Consumer<LatestVersionReferences.Builder> latestVersionReferences) A set of wildcard version ARNs that always reference the latest version of the resource.latestVersionReferences(LatestVersionReferences latestVersionReferences) A set of wildcard version ARNs that always reference the latest version of the resource.workflowBuildVersionArn(String workflowBuildVersionArn) The Amazon Resource Name (ARN) of the workflow resource that the request created.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
-
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.
-
workflowBuildVersionArn
The Amazon Resource Name (ARN) of the workflow resource that the request created.
- Parameters:
workflowBuildVersionArn- The Amazon Resource Name (ARN) of the workflow resource that the request created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestVersionReferences
CreateWorkflowResponse.Builder latestVersionReferences(LatestVersionReferences latestVersionReferences) A set of wildcard version ARNs that always reference the latest version of the resource. ARNs are included for the latest version overall, and for the latest versions within the same major, minor, and patch levels.
- Parameters:
latestVersionReferences- A set of wildcard version ARNs that always reference the latest version of the resource. ARNs are included for the latest version overall, and for the latest versions within the same major, minor, and patch levels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestVersionReferences
default CreateWorkflowResponse.Builder latestVersionReferences(Consumer<LatestVersionReferences.Builder> latestVersionReferences) A set of wildcard version ARNs that always reference the latest version of the resource. ARNs are included for the latest version overall, and for the latest versions within the same major, minor, and patch levels.
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:
-