Interface AssetAttributes.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssetAttributes.Builder,
,AssetAttributes> SdkBuilder<AssetAttributes.Builder,
,AssetAttributes> SdkPojo
- Enclosing class:
AssetAttributes
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the agent that is installed on the EC2 instance where the finding is generated.The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.autoScalingGroup
(String autoScalingGroup) The Auto Scaling group of the EC2 instance where the finding is generated.The hostname of the EC2 instance where the finding is generated.ipv4Addresses
(String... ipv4Addresses) The list of IP v4 addresses of the EC2 instance where the finding is generated.ipv4Addresses
(Collection<String> ipv4Addresses) The list of IP v4 addresses of the EC2 instance where the finding is generated.networkInterfaces
(Collection<NetworkInterface> networkInterfaces) An array of the network interfaces interacting with the EC2 instance where the finding is generated.networkInterfaces
(Consumer<NetworkInterface.Builder>... networkInterfaces) An array of the network interfaces interacting with the EC2 instance where the finding is generated.networkInterfaces
(NetworkInterface... networkInterfaces) An array of the network interfaces interacting with the EC2 instance where the finding is generated.schemaVersion
(Integer schemaVersion) The schema version of this data type.tags
(Collection<Tag> tags) The tags related to the EC2 instance where the finding is generated.tags
(Consumer<Tag.Builder>... tags) The tags related to the EC2 instance where the finding is generated.The tags related to the EC2 instance where the finding is generated.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
-
schemaVersion
The schema version of this data type.
- Parameters:
schemaVersion
- The schema version of this data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentId
The ID of the agent that is installed on the EC2 instance where the finding is generated.
- Parameters:
agentId
- The ID of the agent that is installed on the EC2 instance where the finding is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroup
The Auto Scaling group of the EC2 instance where the finding is generated.
- Parameters:
autoScalingGroup
- The Auto Scaling group of the EC2 instance where the finding is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amiId
The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.
- Parameters:
amiId
- The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostname
The hostname of the EC2 instance where the finding is generated.
- Parameters:
hostname
- The hostname of the EC2 instance where the finding is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv4Addresses
The list of IP v4 addresses of the EC2 instance where the finding is generated.
- Parameters:
ipv4Addresses
- The list of IP v4 addresses of the EC2 instance where the finding is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv4Addresses
The list of IP v4 addresses of the EC2 instance where the finding is generated.
- Parameters:
ipv4Addresses
- The list of IP v4 addresses of the EC2 instance where the finding is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags related to the EC2 instance where the finding is generated.
- Parameters:
tags
- The tags related to the EC2 instance where the finding is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags related to the EC2 instance where the finding is generated.
- Parameters:
tags
- The tags related to the EC2 instance where the finding is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags related to the EC2 instance where the finding is generated.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkInterfaces
An array of the network interfaces interacting with the EC2 instance where the finding is generated.
- Parameters:
networkInterfaces
- An array of the network interfaces interacting with the EC2 instance where the finding is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
An array of the network interfaces interacting with the EC2 instance where the finding is generated.
- Parameters:
networkInterfaces
- An array of the network interfaces interacting with the EC2 instance where the finding is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
An array of the network interfaces interacting with the EC2 instance where the finding is generated.
This is a convenience method that creates an instance of theNetworkInterface.Builder
avoiding the need to create one manually viaNetworkInterface.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkInterfaces(List<NetworkInterface>)
.- Parameters:
networkInterfaces
- a consumer that will call methods onNetworkInterface.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-