Interface UpdateMicrovmImageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateMicrovmImageResponse.Builder,,UpdateMicrovmImageResponse> LambdaMicrovmsResponse.Builder,SdkBuilder<UpdateMicrovmImageResponse.Builder,,UpdateMicrovmImageResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateMicrovmImageResponse
-
Method Summary
Modifier and TypeMethodDescriptionadditionalOsCapabilities(Collection<Capability> additionalOsCapabilities) Additional OS capabilities granted to the MicroVM runtime environment.additionalOsCapabilities(Capability... additionalOsCapabilities) Additional OS capabilities granted to the MicroVM runtime environment.additionalOsCapabilitiesWithStrings(String... additionalOsCapabilities) Additional OS capabilities granted to the MicroVM runtime environment.additionalOsCapabilitiesWithStrings(Collection<String> additionalOsCapabilities) Additional OS capabilities granted to the MicroVM runtime environment.baseImageArn(String baseImageArn) The ARN of the base MicroVM image.baseImageVersion(String baseImageVersion) The specific version of the base MicroVM image.buildRoleArn(String buildRoleArn) The ARN of the IAM build role.codeArtifact(Consumer<CodeArtifact.Builder> codeArtifact) The code artifact containing the application code and metadata for the MicroVM image.codeArtifact(CodeArtifact codeArtifact) The code artifact containing the application code and metadata for the MicroVM image.cpuConfigurations(Collection<CpuConfiguration> cpuConfigurations) The list of supported CPU configurations for the MicroVM.cpuConfigurations(Consumer<CpuConfiguration.Builder>... cpuConfigurations) The list of supported CPU configurations for the MicroVM.cpuConfigurations(CpuConfiguration... cpuConfigurations) The list of supported CPU configurations for the MicroVM.The timestamp when the MicroVM image was created.description(String description) The description of the MicroVM image.egressNetworkConnectors(String... egressNetworkConnectors) The list of egress network connectors available to the MicroVM at runtime.egressNetworkConnectors(Collection<String> egressNetworkConnectors) The list of egress network connectors available to the MicroVM at runtime.environmentVariables(Map<String, String> environmentVariables) Environment variables set in the MicroVM runtime environment.hooks(Consumer<Hooks.Builder> hooks) Sets the value of the Hooks property for this object.Sets the value of the Hooks property for this object.The ARN of the MicroVM image.imageVersion(String imageVersion) The version of the MicroVM image.latestActiveImageVersion(String latestActiveImageVersion) The latest active version of the MicroVM image.latestFailedImageVersion(String latestFailedImageVersion) The latest failed version of the MicroVM image, if any.logging(Consumer<Logging.Builder> logging) The logging configuration for build-time and runtime logs.The logging configuration for build-time and runtime logs.The name of the MicroVM image.resources(Collection<Resources> resources) The resource requirements for the MicroVM.resources(Consumer<Resources.Builder>... resources) The resource requirements for the MicroVM.The resource requirements for the MicroVM.The current state of the MicroVM image.state(MicrovmImageState state) The current state of the MicroVM image.The timestamp when the MicroVM image was last updated.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.
-
name
The name of the MicroVM image.
- Parameters:
name- The name of the MicroVM image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of the MicroVM image.
- Parameters:
state- The current state of the MicroVM image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the MicroVM image.
- Parameters:
state- The current state of the MicroVM image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
latestActiveImageVersion
The latest active version of the MicroVM image.
- Parameters:
latestActiveImageVersion- The latest active version of the MicroVM image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestFailedImageVersion
The latest failed version of the MicroVM image, if any.
- Parameters:
latestFailedImageVersion- The latest failed version of the MicroVM image, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the MicroVM image was created.
- Parameters:
createdAt- The timestamp when the MicroVM image was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baseImageArn
The ARN of the base MicroVM image.
- Parameters:
baseImageArn- The ARN of the base MicroVM image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baseImageVersion
The specific version of the base MicroVM image.
- Parameters:
baseImageVersion- The specific version of the base MicroVM image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildRoleArn
The ARN of the IAM build role.
- Parameters:
buildRoleArn- The ARN of the IAM build role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the MicroVM image.
- Parameters:
description- The description of the MicroVM image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeArtifact
The code artifact containing the application code and metadata for the MicroVM image.
- Parameters:
codeArtifact- The code artifact containing the application code and metadata for the MicroVM image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeArtifact
default UpdateMicrovmImageResponse.Builder codeArtifact(Consumer<CodeArtifact.Builder> codeArtifact) The code artifact containing the application code and metadata for the MicroVM image.
This is a convenience method that creates an instance of theCodeArtifact.Builderavoiding the need to create one manually viaCodeArtifact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeArtifact(CodeArtifact).- Parameters:
codeArtifact- a consumer that will call methods onCodeArtifact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logging
The logging configuration for build-time and runtime logs. Specify {"cloudWatch": {"logGroup": "..."}} to stream logs to a custom CloudWatch log group, or {"disabled": {}} to turn off logging.
- Parameters:
logging- The logging configuration for build-time and runtime logs. Specify {"cloudWatch": {"logGroup": "..."}} to stream logs to a custom CloudWatch log group, or {"disabled": {}} to turn off logging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logging
The logging configuration for build-time and runtime logs. Specify {"cloudWatch": {"logGroup": "..."}} to stream logs to a custom CloudWatch log group, or {"disabled": {}} to turn off logging.
This is a convenience method that creates an instance of theLogging.Builderavoiding the need to create one manually viaLogging.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologging(Logging).- Parameters:
logging- a consumer that will call methods onLogging.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
egressNetworkConnectors
UpdateMicrovmImageResponse.Builder egressNetworkConnectors(Collection<String> egressNetworkConnectors) The list of egress network connectors available to the MicroVM at runtime.
- Parameters:
egressNetworkConnectors- The list of egress network connectors available to the MicroVM at runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressNetworkConnectors
The list of egress network connectors available to the MicroVM at runtime.
- Parameters:
egressNetworkConnectors- The list of egress network connectors available to the MicroVM at runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpuConfigurations
UpdateMicrovmImageResponse.Builder cpuConfigurations(Collection<CpuConfiguration> cpuConfigurations) The list of supported CPU configurations for the MicroVM.
- Parameters:
cpuConfigurations- The list of supported CPU configurations for the MicroVM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpuConfigurations
The list of supported CPU configurations for the MicroVM.
- Parameters:
cpuConfigurations- The list of supported CPU configurations for the MicroVM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpuConfigurations
UpdateMicrovmImageResponse.Builder cpuConfigurations(Consumer<CpuConfiguration.Builder>... cpuConfigurations) The list of supported CPU configurations for the MicroVM.
This is a convenience method that creates an instance of theCpuConfiguration.Builderavoiding the need to create one manually viaCpuConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocpuConfigurations(List<CpuConfiguration>).- Parameters:
cpuConfigurations- a consumer that will call methods onCpuConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resources
The resource requirements for the MicroVM.
- Parameters:
resources- The resource requirements for the MicroVM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The resource requirements for the MicroVM.
- Parameters:
resources- The resource requirements for the MicroVM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The resource requirements for the MicroVM.
This is a convenience method that creates an instance of theResources.Builderavoiding the need to create one manually viaResources.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresources(List<Resources>).- Parameters:
resources- a consumer that will call methods onResources.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
additionalOsCapabilitiesWithStrings
UpdateMicrovmImageResponse.Builder additionalOsCapabilitiesWithStrings(Collection<String> additionalOsCapabilities) Additional OS capabilities granted to the MicroVM runtime environment.
- Parameters:
additionalOsCapabilities- Additional OS capabilities granted to the MicroVM runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalOsCapabilitiesWithStrings
UpdateMicrovmImageResponse.Builder additionalOsCapabilitiesWithStrings(String... additionalOsCapabilities) Additional OS capabilities granted to the MicroVM runtime environment.
- Parameters:
additionalOsCapabilities- Additional OS capabilities granted to the MicroVM runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalOsCapabilities
UpdateMicrovmImageResponse.Builder additionalOsCapabilities(Collection<Capability> additionalOsCapabilities) Additional OS capabilities granted to the MicroVM runtime environment.
- Parameters:
additionalOsCapabilities- Additional OS capabilities granted to the MicroVM runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalOsCapabilities
Additional OS capabilities granted to the MicroVM runtime environment.
- Parameters:
additionalOsCapabilities- Additional OS capabilities granted to the MicroVM runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hooks
Sets the value of the Hooks property for this object.- Parameters:
hooks- The new value for the Hooks property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hooks
Sets the value of the Hooks property for this object. This is a convenience method that creates an instance of theHooks.Builderavoiding the need to create one manually viaHooks.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohooks(Hooks).- Parameters:
hooks- a consumer that will call methods onHooks.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environmentVariables
Environment variables set in the MicroVM runtime environment.
- Parameters:
environmentVariables- Environment variables set in the MicroVM runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the MicroVM image was last updated.
- Parameters:
updatedAt- The timestamp when the MicroVM image was last updated.- 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.
-