Interface Ec2InstanceAggregation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Ec2InstanceAggregation.Builder,
,Ec2InstanceAggregation> SdkBuilder<Ec2InstanceAggregation.Builder,
,Ec2InstanceAggregation> SdkPojo
- Enclosing class:
Ec2InstanceAggregation
-
Method Summary
Modifier and TypeMethodDescriptionamis
(Collection<StringFilter> amis) The AMI IDs associated with the Amazon EC2 instances to aggregate findings for.amis
(Consumer<StringFilter.Builder>... amis) The AMI IDs associated with the Amazon EC2 instances to aggregate findings for.amis
(StringFilter... amis) The AMI IDs associated with the Amazon EC2 instances to aggregate findings for.instanceIds
(Collection<StringFilter> instanceIds) The Amazon EC2 instance IDs to aggregate findings for.instanceIds
(Consumer<StringFilter.Builder>... instanceIds) The Amazon EC2 instance IDs to aggregate findings for.instanceIds
(StringFilter... instanceIds) The Amazon EC2 instance IDs to aggregate findings for.instanceTags
(Collection<MapFilter> instanceTags) The Amazon EC2 instance tags to aggregate findings for.instanceTags
(Consumer<MapFilter.Builder>... instanceTags) The Amazon EC2 instance tags to aggregate findings for.instanceTags
(MapFilter... instanceTags) The Amazon EC2 instance tags to aggregate findings for.operatingSystems
(Collection<StringFilter> operatingSystems) The operating system types to aggregate findings for.operatingSystems
(Consumer<StringFilter.Builder>... operatingSystems) The operating system types to aggregate findings for.operatingSystems
(StringFilter... operatingSystems) The operating system types to aggregate findings for.The value to sort results by.sortBy
(Ec2InstanceSortBy sortBy) 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 AMI IDs associated with the Amazon EC2 instances to aggregate findings for.
- Parameters:
amis
- The AMI IDs associated with the Amazon EC2 instances to aggregate findings for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amis
The AMI IDs associated with the Amazon EC2 instances to aggregate findings for.
- Parameters:
amis
- The AMI IDs associated with the Amazon EC2 instances to aggregate findings for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amis
The AMI IDs associated with the Amazon EC2 instances 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:
-
instanceIds
The Amazon EC2 instance IDs to aggregate findings for.
- Parameters:
instanceIds
- The Amazon EC2 instance IDs to aggregate findings for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceIds
The Amazon EC2 instance IDs to aggregate findings for.
- Parameters:
instanceIds
- The Amazon EC2 instance IDs to aggregate findings for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceIds
The Amazon EC2 instance IDs 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 toinstanceIds(List<StringFilter>)
.- Parameters:
instanceIds
- 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:
-
instanceTags
The Amazon EC2 instance tags to aggregate findings for.
- Parameters:
instanceTags
- The Amazon EC2 instance tags to aggregate findings for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTags
The Amazon EC2 instance tags to aggregate findings for.
- Parameters:
instanceTags
- The Amazon EC2 instance tags to aggregate findings for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTags
The Amazon EC2 instance tags to aggregate findings for.
This is a convenience method that creates an instance of theMapFilter.Builder
avoiding the need to create one manually viaMapFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceTags(List<MapFilter>)
.- Parameters:
instanceTags
- a consumer that will call methods onMapFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operatingSystems
The operating system types to aggregate findings for. Valid values must be uppercase and underscore separated, examples are
ORACLE_LINUX_7
andALPINE_LINUX_3_8
.- Parameters:
operatingSystems
- The operating system types to aggregate findings for. Valid values must be uppercase and underscore separated, examples areORACLE_LINUX_7
andALPINE_LINUX_3_8
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operatingSystems
The operating system types to aggregate findings for. Valid values must be uppercase and underscore separated, examples are
ORACLE_LINUX_7
andALPINE_LINUX_3_8
.- Parameters:
operatingSystems
- The operating system types to aggregate findings for. Valid values must be uppercase and underscore separated, examples areORACLE_LINUX_7
andALPINE_LINUX_3_8
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operatingSystems
The operating system types to aggregate findings for. Valid values must be uppercase and underscore separated, examples are
This is a convenience method that creates an instance of theORACLE_LINUX_7
andALPINE_LINUX_3_8
.StringFilter.Builder
avoiding the need to create one manually viaStringFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooperatingSystems(List<StringFilter>)
.- Parameters:
operatingSystems
- 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:
-