Interface GetMicrovmImageBuildResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetMicrovmImageBuildResponse.Builder,,GetMicrovmImageBuildResponse> LambdaMicrovmsResponse.Builder,SdkBuilder<GetMicrovmImageBuildResponse.Builder,,GetMicrovmImageBuildResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetMicrovmImageBuildResponse
-
Method Summary
Modifier and TypeMethodDescriptionarchitecture(String architecture) The target CPU architecture for the build.architecture(Architecture architecture) The target CPU architecture for the build.The build request ID.buildState(String buildState) The current state of the build.buildState(BuildState buildState) The current state of the build.The target chipset for the build.The target chipset for the build.chipsetGeneration(String chipsetGeneration) The target chipset generation for the build.The timestamp when the build was created.The ARN of the MicroVM image.imageVersion(String imageVersion) The version of the MicroVM image.snapshotBuild(Consumer<SnapshotBuild.Builder> snapshotBuild) The snapshot build details, including memory and disk snapshot sizes.snapshotBuild(SnapshotBuild snapshotBuild) The snapshot build details, including memory and disk snapshot sizes.stateReason(String stateReason) The reason for the build state, if applicable.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lambdamicrovms.model.LambdaMicrovmsResponse.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
-
imageArn
The ARN of the MicroVM image.
- Parameters:
imageArn- The ARN of the MicroVM image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageVersion
The version of the MicroVM image.
- Parameters:
imageVersion- The version of the MicroVM image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildId
The build request ID.
- Parameters:
buildId- The build request ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildState
The current state of the build.
- Parameters:
buildState- The current state of the build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
buildState
The current state of the build.
- Parameters:
buildState- The current state of the build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
architecture
The target CPU architecture for the build. Supported value: ARM_64.
- Parameters:
architecture- The target CPU architecture for the build. Supported value: ARM_64.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
architecture
The target CPU architecture for the build. Supported value: ARM_64.
- Parameters:
architecture- The target CPU architecture for the build. Supported value: ARM_64.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
chipset
The target chipset for the build.
- Parameters:
chipset- The target chipset for the build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
chipset
The target chipset for the build.
- Parameters:
chipset- The target chipset for the build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
chipsetGeneration
The target chipset generation for the build.
- Parameters:
chipsetGeneration- The target chipset generation for the build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateReason
The reason for the build state, if applicable.
- Parameters:
stateReason- The reason for the build state, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the build was created.
- Parameters:
createdAt- The timestamp when the build was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotBuild
The snapshot build details, including memory and disk snapshot sizes.
- Parameters:
snapshotBuild- The snapshot build details, including memory and disk snapshot sizes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotBuild
default GetMicrovmImageBuildResponse.Builder snapshotBuild(Consumer<SnapshotBuild.Builder> snapshotBuild) The snapshot build details, including memory and disk snapshot sizes.
This is a convenience method that creates an instance of theSnapshotBuild.Builderavoiding the need to create one manually viaSnapshotBuild.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosnapshotBuild(SnapshotBuild).- Parameters:
snapshotBuild- a consumer that will call methods onSnapshotBuild.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-