Interface ProductAttributeValues.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ProductAttributeValues.Builder,,ProductAttributeValues> SdkBuilder<ProductAttributeValues.Builder,,ProductAttributeValues> SdkPojo
- Enclosing class:
ProductAttributeValues
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the product attribute to filter on.matchOptions(Collection<MatchOption> matchOptions) The match options for theProductAttributesfilter.matchOptions(MatchOption... matchOptions) The match options for theProductAttributesfilter.matchOptionsWithStrings(String... matchOptions) The match options for theProductAttributesfilter.matchOptionsWithStrings(Collection<String> matchOptions) The match options for theProductAttributesfilter.The specific values of the product attribute, such asClaude Sonnet 5for themodelkey.values(Collection<String> values) The specific values of the product attribute, such asClaude Sonnet 5for themodelkey.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
key
The name of the product attribute to filter on. Valid values are the following:
-
feature– The feature that was used, such asOn-demand Inference. -
inferenceType– The type of inference usage, such asInput tokensorOutput tokens. -
model– The model, such asClaude Sonnet 5orClaude Haiku 4.5. -
provider– The model provider, such asAnthropic,Cohere, orAmazon.
Keys are case-sensitive.
- Parameters:
key- The name of the product attribute to filter on. Valid values are the following:-
feature– The feature that was used, such asOn-demand Inference. -
inferenceType– The type of inference usage, such asInput tokensorOutput tokens. -
model– The model, such asClaude Sonnet 5orClaude Haiku 4.5. -
provider– The model provider, such asAnthropic,Cohere, orAmazon.
Keys are case-sensitive.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
values
The specific values of the product attribute, such as
Claude Sonnet 5for themodelkey. Values are matched exactly.Valuesis required unlessMatchOptionsisABSENT. To match costs that have no value for the key, setMatchOptionstoABSENTand omitValues.- Parameters:
values- The specific values of the product attribute, such asClaude Sonnet 5for themodelkey. Values are matched exactly.Valuesis required unlessMatchOptionsisABSENT. To match costs that have no value for the key, setMatchOptionstoABSENTand omitValues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The specific values of the product attribute, such as
Claude Sonnet 5for themodelkey. Values are matched exactly.Valuesis required unlessMatchOptionsisABSENT. To match costs that have no value for the key, setMatchOptionstoABSENTand omitValues.- Parameters:
values- The specific values of the product attribute, such asClaude Sonnet 5for themodelkey. Values are matched exactly.Valuesis required unlessMatchOptionsisABSENT. To match costs that have no value for the key, setMatchOptionstoABSENTand omitValues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchOptionsWithStrings
The match options for the
ProductAttributesfilter. Valid values:-
ABSENT– Matches costs that have no value for the attribute. -
CASE_SENSITIVE– Requires an exact case match. -
EQUALS– Matches costs where the attribute equals the specified value.
Specify either
EQUALSorABSENT. You can addCASE_SENSITIVEtoEQUALS, but you can't use it by itself or withABSENT.- Parameters:
matchOptions- The match options for theProductAttributesfilter. Valid values:-
ABSENT– Matches costs that have no value for the attribute. -
CASE_SENSITIVE– Requires an exact case match. -
EQUALS– Matches costs where the attribute equals the specified value.
Specify either
EQUALSorABSENT. You can addCASE_SENSITIVEtoEQUALS, but you can't use it by itself or withABSENT.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
matchOptionsWithStrings
The match options for the
ProductAttributesfilter. Valid values:-
ABSENT– Matches costs that have no value for the attribute. -
CASE_SENSITIVE– Requires an exact case match. -
EQUALS– Matches costs where the attribute equals the specified value.
Specify either
EQUALSorABSENT. You can addCASE_SENSITIVEtoEQUALS, but you can't use it by itself or withABSENT.- Parameters:
matchOptions- The match options for theProductAttributesfilter. Valid values:-
ABSENT– Matches costs that have no value for the attribute. -
CASE_SENSITIVE– Requires an exact case match. -
EQUALS– Matches costs where the attribute equals the specified value.
Specify either
EQUALSorABSENT. You can addCASE_SENSITIVEtoEQUALS, but you can't use it by itself or withABSENT.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
matchOptions
The match options for the
ProductAttributesfilter. Valid values:-
ABSENT– Matches costs that have no value for the attribute. -
CASE_SENSITIVE– Requires an exact case match. -
EQUALS– Matches costs where the attribute equals the specified value.
Specify either
EQUALSorABSENT. You can addCASE_SENSITIVEtoEQUALS, but you can't use it by itself or withABSENT.- Parameters:
matchOptions- The match options for theProductAttributesfilter. Valid values:-
ABSENT– Matches costs that have no value for the attribute. -
CASE_SENSITIVE– Requires an exact case match. -
EQUALS– Matches costs where the attribute equals the specified value.
Specify either
EQUALSorABSENT. You can addCASE_SENSITIVEtoEQUALS, but you can't use it by itself or withABSENT.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
matchOptions
The match options for the
ProductAttributesfilter. Valid values:-
ABSENT– Matches costs that have no value for the attribute. -
CASE_SENSITIVE– Requires an exact case match. -
EQUALS– Matches costs where the attribute equals the specified value.
Specify either
EQUALSorABSENT. You can addCASE_SENSITIVEtoEQUALS, but you can't use it by itself or withABSENT.- Parameters:
matchOptions- The match options for theProductAttributesfilter. Valid values:-
ABSENT– Matches costs that have no value for the attribute. -
CASE_SENSITIVE– Requires an exact case match. -
EQUALS– Matches costs where the attribute equals the specified value.
Specify either
EQUALSorABSENT. You can addCASE_SENSITIVEtoEQUALS, but you can't use it by itself or withABSENT.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-