Interface GetMicrovmResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetMicrovmResponse.Builder,,GetMicrovmResponse> LambdaMicrovmsResponse.Builder,SdkBuilder<GetMicrovmResponse.Builder,,GetMicrovmResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetMicrovmResponse
-
Method Summary
Modifier and TypeMethodDescriptionegressNetworkConnectors(String... egressNetworkConnectors) The list of egress network connectors configured for the MicroVM.egressNetworkConnectors(Collection<String> egressNetworkConnectors) The list of egress network connectors configured for the MicroVM.The HTTPS endpoint URL for communicating with the MicroVM.executionRoleArn(String executionRoleArn) The ARN of the IAM execution role assumed by the MicroVM.default GetMicrovmResponse.BuilderidlePolicy(Consumer<IdlePolicy.Builder> idlePolicy) The idle policy configuration of the MicroVM, controlling auto-suspend and auto-resume behavior.idlePolicy(IdlePolicy idlePolicy) The idle policy configuration of the MicroVM, controlling auto-suspend and auto-resume behavior.The ARN of the MicroVM image used to run this MicroVM.imageVersion(String imageVersion) The version of the MicroVM image used to run this MicroVM.ingressNetworkConnectors(String... ingressNetworkConnectors) The list of ingress network connectors configured for the MicroVM.ingressNetworkConnectors(Collection<String> ingressNetworkConnectors) The list of ingress network connectors configured for the MicroVM.maximumDurationInSeconds(Integer maximumDurationInSeconds) The maximum duration in seconds that the MicroVM can exist before being terminated by the platform.The unique identifier of the MicroVM.The timestamp when the MicroVM first started.The current lifecycle state of the MicroVM.state(MicrovmState state) The current lifecycle state of the MicroVM.stateReason(String stateReason) The reason for why the MicroVM is in the current state.terminatedAt(Instant terminatedAt) The timestamp when the MicroVM terminated.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
-
microvmId
The unique identifier of the MicroVM.
- Parameters:
microvmId- The unique identifier of the MicroVM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current lifecycle state of the MicroVM.
- Parameters:
state- The current lifecycle state of the MicroVM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current lifecycle state of the MicroVM.
- Parameters:
state- The current lifecycle state of the MicroVM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endpoint
The HTTPS endpoint URL for communicating with the MicroVM. Include a valid authentication token in the X-aws-proxy-auth header when sending requests.
- Parameters:
endpoint- The HTTPS endpoint URL for communicating with the MicroVM. Include a valid authentication token in the X-aws-proxy-auth header when sending requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageArn
The ARN of the MicroVM image used to run this MicroVM.
- Parameters:
imageArn- The ARN of the MicroVM image used to run this MicroVM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageVersion
The version of the MicroVM image used to run this MicroVM.
- Parameters:
imageVersion- The version of the MicroVM image used to run this MicroVM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionRoleArn
The ARN of the IAM execution role assumed by the MicroVM.
- Parameters:
executionRoleArn- The ARN of the IAM execution role assumed by the MicroVM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idlePolicy
The idle policy configuration of the MicroVM, controlling auto-suspend and auto-resume behavior.
- Parameters:
idlePolicy- The idle policy configuration of the MicroVM, controlling auto-suspend and auto-resume behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idlePolicy
The idle policy configuration of the MicroVM, controlling auto-suspend and auto-resume behavior.
This is a convenience method that creates an instance of theIdlePolicy.Builderavoiding the need to create one manually viaIdlePolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidlePolicy(IdlePolicy).- Parameters:
idlePolicy- a consumer that will call methods onIdlePolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maximumDurationInSeconds
The maximum duration in seconds that the MicroVM can exist before being terminated by the platform.
- Parameters:
maximumDurationInSeconds- The maximum duration in seconds that the MicroVM can exist before being terminated by the platform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
The timestamp when the MicroVM first started.
- Parameters:
startedAt- The timestamp when the MicroVM first started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terminatedAt
The timestamp when the MicroVM terminated.
- Parameters:
terminatedAt- The timestamp when the MicroVM terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateReason
The reason for why the MicroVM is in the current state.
- Parameters:
stateReason- The reason for why the MicroVM is in the current state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingressNetworkConnectors
The list of ingress network connectors configured for the MicroVM.
- Parameters:
ingressNetworkConnectors- The list of ingress network connectors configured for the MicroVM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingressNetworkConnectors
The list of ingress network connectors configured for the MicroVM.
- Parameters:
ingressNetworkConnectors- The list of ingress network connectors configured for the MicroVM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressNetworkConnectors
The list of egress network connectors configured for the MicroVM.
- Parameters:
egressNetworkConnectors- The list of egress network connectors configured for the MicroVM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressNetworkConnectors
The list of egress network connectors configured for the MicroVM.
- Parameters:
egressNetworkConnectors- The list of egress network connectors configured for the MicroVM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-