Class InvokeAgentRuntimeCommandResponse

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<InvokeAgentRuntimeCommandResponse.Builder,InvokeAgentRuntimeCommandResponse>

@Generated("software.amazon.awssdk:codegen") public final class InvokeAgentRuntimeCommandResponse extends BedrockAgentCoreResponse implements ToCopyableBuilder<InvokeAgentRuntimeCommandResponse.Builder,InvokeAgentRuntimeCommandResponse>

Response for InvokeAgentRuntimeCommand operation.

  • Method Details

    • runtimeSessionId

      public final String runtimeSessionId()

      The unique identifier of the runtime session in which the command was executed.

      Returns:
      The unique identifier of the runtime session in which the command was executed.
    • traceId

      public final String traceId()

      The trace identifier for request tracking.

      Returns:
      The trace identifier for request tracking.
    • traceParent

      public final String traceParent()

      The parent trace information for distributed tracing.

      Returns:
      The parent trace information for distributed tracing.
    • traceState

      public final String traceState()

      The trace state information for distributed tracing.

      Returns:
      The trace state information for distributed tracing.
    • baggage

      public final String baggage()

      Additional context information for distributed tracing.

      Returns:
      Additional context information for distributed tracing.
    • contentType

      public final String contentType()

      The MIME type of the response data. This indicates how to interpret the response data. Common values include application/json for JSON data.

      Returns:
      The MIME type of the response data. This indicates how to interpret the response data. Common values include application/json for JSON data.
    • statusCode

      public final Integer statusCode()

      The HTTP status code of the response. A status code of 200 indicates a successful operation. Other status codes indicate various error conditions.

      Returns:
      The HTTP status code of the response. A status code of 200 indicates a successful operation. Other status codes indicate various error conditions.
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<InvokeAgentRuntimeCommandResponse.Builder,InvokeAgentRuntimeCommandResponse>
      Specified by:
      toBuilder in class AwsResponse
    • builder

    • serializableBuilderClass

      public static Class<? extends InvokeAgentRuntimeCommandResponse.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsResponse
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsResponse
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • toString

      public final String 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkResponse
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo