Class InvokeAgentRuntimeCommandRequestBody
java.lang.Object
software.amazon.awssdk.services.bedrockagentcore.model.InvokeAgentRuntimeCommandRequestBody
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InvokeAgentRuntimeCommandRequestBody.Builder,InvokeAgentRuntimeCommandRequestBody>
@Generated("software.amazon.awssdk:codegen")
public final class InvokeAgentRuntimeCommandRequestBody
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<InvokeAgentRuntimeCommandRequestBody.Builder,InvokeAgentRuntimeCommandRequestBody>
The request body structure for the InvokeAgentRuntimeCommand operation, containing the command to
execute and optional configuration parameters.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final Stringcommand()The shell command to execute on the agent runtime.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends InvokeAgentRuntimeCommandRequestBody.Builder>final Integertimeout()The maximum duration in seconds to wait for the command to complete.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
command
The shell command to execute on the agent runtime. This command is executed in the runtime environment and its output is streamed back to the caller.
- Returns:
- The shell command to execute on the agent runtime. This command is executed in the runtime environment and its output is streamed back to the caller.
-
timeout
The maximum duration in seconds to wait for the command to complete. If the command execution exceeds this timeout, it will be terminated. Default is 300 seconds. Minimum is 1 second. Maximum is 3600 seconds.
- Returns:
- The maximum duration in seconds to wait for the command to complete. If the command execution exceeds this timeout, it will be terminated. Default is 300 seconds. Minimum is 1 second. Maximum is 3600 seconds.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<InvokeAgentRuntimeCommandRequestBody.Builder,InvokeAgentRuntimeCommandRequestBody>
-
builder
-
serializableBuilderClass
public static Class<? extends InvokeAgentRuntimeCommandRequestBody.Builder> serializableBuilderClass() -
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-