Class ListPromptRoutersRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.bedrock.model.BedrockRequest
-
- software.amazon.awssdk.services.bedrock.model.ListPromptRoutersRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListPromptRoutersRequest.Builder,ListPromptRoutersRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListPromptRoutersRequest extends BedrockRequest implements ToCopyableBuilder<ListPromptRoutersRequest.Builder,ListPromptRoutersRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListPromptRoutersRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListPromptRoutersRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of prompt routers to return in one page of results.StringnextToken()Specify the pagination token from a previous request to retrieve the next page of results.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListPromptRoutersRequest.Builder>serializableBuilderClass()ListPromptRoutersRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.PromptRouterTypetype()The type of the prompt routers, such as whether it's default or custom.StringtypeAsString()The type of the prompt routers, such as whether it's default or custom.-
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
-
maxResults
public final Integer maxResults()
The maximum number of prompt routers to return in one page of results.
- Returns:
- The maximum number of prompt routers to return in one page of results.
-
nextToken
public final String nextToken()
Specify the pagination token from a previous request to retrieve the next page of results.
- Returns:
- Specify the pagination token from a previous request to retrieve the next page of results.
-
type
public final PromptRouterType type()
The type of the prompt routers, such as whether it's default or custom.
If the service returns an enum value that is not available in the current SDK version,
typewill returnPromptRouterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the prompt routers, such as whether it's default or custom.
- See Also:
PromptRouterType
-
typeAsString
public final String typeAsString()
The type of the prompt routers, such as whether it's default or custom.
If the service returns an enum value that is not available in the current SDK version,
typewill returnPromptRouterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the prompt routers, such as whether it's default or custom.
- See Also:
PromptRouterType
-
toBuilder
public ListPromptRoutersRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListPromptRoutersRequest.Builder,ListPromptRoutersRequest>- Specified by:
toBuilderin classBedrockRequest
-
builder
public static ListPromptRoutersRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListPromptRoutersRequest.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
-
-