Interface AmiAggregation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AmiAggregation.Builder,
,AmiAggregation> SdkBuilder<AmiAggregation.Builder,
,AmiAggregation> SdkPojo
- Enclosing class:
AmiAggregation
public static interface AmiAggregation.Builder
extends SdkPojo, CopyableBuilder<AmiAggregation.Builder,AmiAggregation>
-
Method Summary
Modifier and TypeMethodDescriptionamis
(Collection<StringFilter> amis) The IDs of AMIs to aggregate findings for.amis
(Consumer<StringFilter.Builder>... amis) The IDs of AMIs to aggregate findings for.amis
(StringFilter... amis) The IDs of AMIs to aggregate findings for.The value to sort results by.The value to sort results by.The order to sort results by.The order to sort results 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 Details
-
amis
The IDs of AMIs to aggregate findings for.
- Parameters:
amis
- The IDs of AMIs to aggregate findings for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amis
The IDs of AMIs to aggregate findings for.
- Parameters:
amis
- The IDs of AMIs to aggregate findings for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amis
The IDs of AMIs to aggregate findings for.
This is a convenience method that creates an instance of theStringFilter.Builder
avoiding the need to create one manually viaStringFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toamis(List<StringFilter>)
.- Parameters:
amis
- a consumer that will call methods onStringFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortBy
The value to sort results by.
- Parameters:
sortBy
- The value to sort results by.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortBy
The value to sort results by.
- Parameters:
sortBy
- The value to sort results by.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The order to sort results by.
- Parameters:
sortOrder
- The order to sort results by.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The order to sort results by.
- Parameters:
sortOrder
- The order to sort results by.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-