Class GetAgentMemoryRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.bedrockagentruntime.model.BedrockAgentRuntimeRequest
-
- software.amazon.awssdk.services.bedrockagentruntime.model.GetAgentMemoryRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetAgentMemoryRequest.Builder,GetAgentMemoryRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetAgentMemoryRequest extends BedrockAgentRuntimeRequest implements ToCopyableBuilder<GetAgentMemoryRequest.Builder,GetAgentMemoryRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetAgentMemoryRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringagentAliasId()The unique identifier of an alias of an agent.StringagentId()The unique identifier of the agent to which the alias belongs.static GetAgentMemoryRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxItems()The maximum number of items to return in the response.StringmemoryId()The unique identifier of the memory.MemoryTypememoryType()The type of memory.StringmemoryTypeAsString()The type of memory.StringnextToken()If the total number of results is greater than the maxItems value provided in the request, enter the token returned in thenextTokenfield in the response in this field to return the next batch of results.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetAgentMemoryRequest.Builder>serializableBuilderClass()GetAgentMemoryRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
agentAliasId
public final String agentAliasId()
The unique identifier of an alias of an agent.
- Returns:
- The unique identifier of an alias of an agent.
-
agentId
public final String agentId()
The unique identifier of the agent to which the alias belongs.
- Returns:
- The unique identifier of the agent to which the alias belongs.
-
maxItems
public final Integer maxItems()
The maximum number of items 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
nextTokenfield when making another request to return the next batch of results.- Returns:
- The maximum number of items 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
nextTokenfield when making another request to return the next batch of results.
-
memoryId
public final String memoryId()
The unique identifier of the memory.
- Returns:
- The unique identifier of the memory.
-
memoryType
public final MemoryType memoryType()
The type of memory.
If the service returns an enum value that is not available in the current SDK version,
memoryTypewill returnMemoryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommemoryTypeAsString().- Returns:
- The type of memory.
- See Also:
MemoryType
-
memoryTypeAsString
public final String memoryTypeAsString()
The type of memory.
If the service returns an enum value that is not available in the current SDK version,
memoryTypewill returnMemoryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommemoryTypeAsString().- Returns:
- The type of memory.
- See Also:
MemoryType
-
nextToken
public final String nextToken()
If the total number of results is greater than the maxItems value provided in the request, enter the token returned in the
nextTokenfield in the response in this field to return the next batch of results.- Returns:
- If the total number of results is greater than the maxItems value provided in the request, enter the
token returned in the
nextTokenfield in the response in this field to return the next batch of results.
-
toBuilder
public GetAgentMemoryRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetAgentMemoryRequest.Builder,GetAgentMemoryRequest>- Specified by:
toBuilderin classBedrockAgentRuntimeRequest
-
builder
public static GetAgentMemoryRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetAgentMemoryRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-