Interface Ec2InstanceAggregation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Ec2InstanceAggregation.Builder,Ec2InstanceAggregation>,SdkBuilder<Ec2InstanceAggregation.Builder,Ec2InstanceAggregation>,SdkPojo
- Enclosing class:
- Ec2InstanceAggregation
public static interface Ec2InstanceAggregation.Builder extends SdkPojo, CopyableBuilder<Ec2InstanceAggregation.Builder,Ec2InstanceAggregation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Ec2InstanceAggregation.Builderamis(Collection<StringFilter> amis)The AMI IDs associated with the Amazon EC2 instances to aggregate findings for.Ec2InstanceAggregation.Builderamis(Consumer<StringFilter.Builder>... amis)The AMI IDs associated with the Amazon EC2 instances to aggregate findings for.Ec2InstanceAggregation.Builderamis(StringFilter... amis)The AMI IDs associated with the Amazon EC2 instances to aggregate findings for.Ec2InstanceAggregation.BuilderinstanceIds(Collection<StringFilter> instanceIds)The Amazon EC2 instance IDs to aggregate findings for.Ec2InstanceAggregation.BuilderinstanceIds(Consumer<StringFilter.Builder>... instanceIds)The Amazon EC2 instance IDs to aggregate findings for.Ec2InstanceAggregation.BuilderinstanceIds(StringFilter... instanceIds)The Amazon EC2 instance IDs to aggregate findings for.Ec2InstanceAggregation.BuilderinstanceTags(Collection<MapFilter> instanceTags)The Amazon EC2 instance tags to aggregate findings for.Ec2InstanceAggregation.BuilderinstanceTags(Consumer<MapFilter.Builder>... instanceTags)The Amazon EC2 instance tags to aggregate findings for.Ec2InstanceAggregation.BuilderinstanceTags(MapFilter... instanceTags)The Amazon EC2 instance tags to aggregate findings for.Ec2InstanceAggregation.BuilderoperatingSystems(Collection<StringFilter> operatingSystems)The operating system types to aggregate findings for.Ec2InstanceAggregation.BuilderoperatingSystems(Consumer<StringFilter.Builder>... operatingSystems)The operating system types to aggregate findings for.Ec2InstanceAggregation.BuilderoperatingSystems(StringFilter... operatingSystems)The operating system types to aggregate findings for.Ec2InstanceAggregation.BuildersortBy(String sortBy)The value to sort results by.Ec2InstanceAggregation.BuildersortBy(Ec2InstanceSortBy sortBy)The value to sort results by.Ec2InstanceAggregation.BuildersortOrder(String sortOrder)The order to sort results by.Ec2InstanceAggregation.BuildersortOrder(SortOrder sortOrder)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 Detail
-
amis
Ec2InstanceAggregation.Builder amis(Collection<StringFilter> 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
Ec2InstanceAggregation.Builder amis(StringFilter... 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
Ec2InstanceAggregation.Builder amis(Consumer<StringFilter.Builder>... 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.Builderavoiding the need to create one manually viaStringFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#amis(List.) - 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:
#amis(java.util.Collection)
-
instanceIds
Ec2InstanceAggregation.Builder instanceIds(Collection<StringFilter> 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
Ec2InstanceAggregation.Builder instanceIds(StringFilter... 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
Ec2InstanceAggregation.Builder instanceIds(Consumer<StringFilter.Builder>... instanceIds)
The Amazon EC2 instance IDs to aggregate findings for.
This is a convenience method that creates an instance of theStringFilter.Builderavoiding the need to create one manually viaStringFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instanceIds(List.) - 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:
#instanceIds(java.util.Collection)
-
instanceTags
Ec2InstanceAggregation.Builder instanceTags(Collection<MapFilter> 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
Ec2InstanceAggregation.Builder instanceTags(MapFilter... 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
Ec2InstanceAggregation.Builder instanceTags(Consumer<MapFilter.Builder>... instanceTags)
The Amazon EC2 instance tags to aggregate findings for.
This is a convenience method that creates an instance of theMapFilter.Builderavoiding the need to create one manually viaMapFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instanceTags(List.) - 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:
#instanceTags(java.util.Collection)
-
operatingSystems
Ec2InstanceAggregation.Builder operatingSystems(Collection<StringFilter> operatingSystems)
The operating system types to aggregate findings for. Valid values must be uppercase and underscore separated, examples are
ORACLE_LINUX_7andALPINE_LINUX_3_8.- Parameters:
operatingSystems- The operating system types to aggregate findings for. Valid values must be uppercase and underscore separated, examples areORACLE_LINUX_7andALPINE_LINUX_3_8.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operatingSystems
Ec2InstanceAggregation.Builder operatingSystems(StringFilter... operatingSystems)
The operating system types to aggregate findings for. Valid values must be uppercase and underscore separated, examples are
ORACLE_LINUX_7andALPINE_LINUX_3_8.- Parameters:
operatingSystems- The operating system types to aggregate findings for. Valid values must be uppercase and underscore separated, examples areORACLE_LINUX_7andALPINE_LINUX_3_8.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operatingSystems
Ec2InstanceAggregation.Builder operatingSystems(Consumer<StringFilter.Builder>... 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_7andALPINE_LINUX_3_8.StringFilter.Builderavoiding the need to create one manually viaStringFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#operatingSystems(List.) - 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:
#operatingSystems(java.util.Collection)
-
sortBy
Ec2InstanceAggregation.Builder sortBy(String 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:
Ec2InstanceSortBy,Ec2InstanceSortBy
-
sortBy
Ec2InstanceAggregation.Builder sortBy(Ec2InstanceSortBy 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:
Ec2InstanceSortBy,Ec2InstanceSortBy
-
sortOrder
Ec2InstanceAggregation.Builder sortOrder(String sortOrder)
The order to sort results by.
-
sortOrder
Ec2InstanceAggregation.Builder sortOrder(SortOrder sortOrder)
The order to sort results by.
-
-