Interface AgenticRuntimeState.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgenticRuntimeState.Builder,,AgenticRuntimeState> SdkBuilder<AgenticRuntimeState.Builder,,AgenticRuntimeState> SdkPojo
- Enclosing class:
AgenticRuntimeState
-
Method Summary
Modifier and TypeMethodDescriptionThe check or operation that set the agent's health status.errorCode(AgenticRuntimeErrorCode errorCode) The check or operation that set the agent's health status.errorMessage(String errorMessage) A description of the agent's health status.The health of the agent.status(AgenticRuntimeStatus status) The health of the agent.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
status
The health of the agent.
UNKNOWNindicates that the service couldn't determine the agent's health, for example, because the WorkSpace isn't running.- Parameters:
status- The health of the agent.UNKNOWNindicates that the service couldn't determine the agent's health, for example, because the WorkSpace isn't running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The health of the agent.
UNKNOWNindicates that the service couldn't determine the agent's health, for example, because the WorkSpace isn't running.- Parameters:
status- The health of the agent.UNKNOWNindicates that the service couldn't determine the agent's health, for example, because the WorkSpace isn't running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
The check or operation that set the agent's health status. This field isn't returned when the health status is
AVAILABLE, and might not be returned for other statuses. The service can add values, so make sure that your code handles values that aren't in the list of valid values.- Parameters:
errorCode- The check or operation that set the agent's health status. This field isn't returned when the health status isAVAILABLE, and might not be returned for other statuses. The service can add values, so make sure that your code handles values that aren't in the list of valid values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
The check or operation that set the agent's health status. This field isn't returned when the health status is
AVAILABLE, and might not be returned for other statuses. The service can add values, so make sure that your code handles values that aren't in the list of valid values.- Parameters:
errorCode- The check or operation that set the agent's health status. This field isn't returned when the health status isAVAILABLE, and might not be returned for other statuses. The service can add values, so make sure that your code handles values that aren't in the list of valid values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
A description of the agent's health status. This field isn't returned when the health status is
AVAILABLE. It's returned for every other status, even whenErrorCodeisn't returned.- Parameters:
errorMessage- A description of the agent's health status. This field isn't returned when the health status isAVAILABLE. It's returned for every other status, even whenErrorCodeisn't returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-