Interface Filter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Filter.Builder,Filter>,SdkBuilder<Filter.Builder,Filter>,SdkPojo
- Enclosing class:
- Filter
public static interface Filter.Builder extends SdkPojo, CopyableBuilder<Filter.Builder,Filter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Filter.Builderfield(String field)The product metadata field that you want to filter on.Filter.Buildertype(String type)The type of filter that you want to use.Filter.Buildertype(FilterType type)The type of filter that you want to use.Filter.Buildervalue(String value)The service code or attribute value that you want to filter by.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
type
Filter.Builder type(String type)
The type of filter that you want to use.
Valid values are:
TERM_MATCH.TERM_MATCHreturns only products that match both the given filter field and the given value.- Parameters:
type- The type of filter that you want to use.Valid values are:
TERM_MATCH.TERM_MATCHreturns only products that match both the given filter field and the given value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FilterType,FilterType
-
type
Filter.Builder type(FilterType type)
The type of filter that you want to use.
Valid values are:
TERM_MATCH.TERM_MATCHreturns only products that match both the given filter field and the given value.- Parameters:
type- The type of filter that you want to use.Valid values are:
TERM_MATCH.TERM_MATCHreturns only products that match both the given filter field and the given value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FilterType,FilterType
-
field
Filter.Builder field(String field)
The product metadata field that you want to filter on. You can filter by just the service code to see all products for a specific service, filter by just the attribute name to see a specific attribute for multiple services, or use both a service code and an attribute name to retrieve only products that match both fields.
Valid values include:
ServiceCode, and all attribute namesFor example, you can filter by the
AmazonEC2service code and thevolumeTypeattribute name to get the prices for only Amazon EC2 volumes.- Parameters:
field- The product metadata field that you want to filter on. You can filter by just the service code to see all products for a specific service, filter by just the attribute name to see a specific attribute for multiple services, or use both a service code and an attribute name to retrieve only products that match both fields.Valid values include:
ServiceCode, and all attribute namesFor example, you can filter by the
AmazonEC2service code and thevolumeTypeattribute name to get the prices for only Amazon EC2 volumes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
Filter.Builder value(String value)
The service code or attribute value that you want to filter by. If you're filtering by service code this is the actual service code, such as
AmazonEC2. If you're filtering by attribute name, this is the attribute value that you want the returned products to match, such as aProvisioned IOPSvolume.- Parameters:
value- The service code or attribute value that you want to filter by. If you're filtering by service code this is the actual service code, such asAmazonEC2. If you're filtering by attribute name, this is the attribute value that you want the returned products to match, such as aProvisioned IOPSvolume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-