Class ListAgentVersionsRequest

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

@Generated("software.amazon.awssdk:codegen") public final class ListAgentVersionsRequest extends BedrockAgentRequest implements ToCopyableBuilder<ListAgentVersionsRequest.Builder,ListAgentVersionsRequest>
  • Method Details

    • agentId

      public final String agentId()

      The unique identifier of the agent.

      Returns:
      The unique identifier of the agent.
    • maxResults

      public final Integer maxResults()

      The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.

      Returns:
      The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
    • nextToken

      public final String nextToken()

      If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.

      Returns:
      If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<ListAgentVersionsRequest.Builder,ListAgentVersionsRequest>
      Specified by:
      toBuilder in class BedrockAgentRequest
    • builder

      public static ListAgentVersionsRequest.Builder builder()
    • serializableBuilderClass

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

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

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • 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 SdkRequest
    • 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