public static interface AssetAttributes.Builder extends SdkPojo, CopyableBuilder<AssetAttributes.Builder,AssetAttributes>
| Modifier and Type | Method and Description |
|---|---|
AssetAttributes.Builder |
agentId(String agentId)
The ID of the agent that is installed on the EC2 instance where the finding is generated.
|
AssetAttributes.Builder |
amiId(String amiId)
The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is
generated.
|
AssetAttributes.Builder |
autoScalingGroup(String autoScalingGroup)
The Auto Scaling group of the EC2 instance where the finding is generated.
|
AssetAttributes.Builder |
hostname(String hostname)
The hostname of the EC2 instance where the finding is generated.
|
AssetAttributes.Builder |
ipv4Addresses(Collection<String> ipv4Addresses)
The list of IP v4 addresses of the EC2 instance where the finding is generated.
|
AssetAttributes.Builder |
ipv4Addresses(String... ipv4Addresses)
The list of IP v4 addresses of the EC2 instance where the finding is generated.
|
AssetAttributes.Builder |
networkInterfaces(Collection<NetworkInterface> networkInterfaces)
An array of the network interfaces interacting with the EC2 instance where the finding is generated.
|
AssetAttributes.Builder |
networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)
An array of the network interfaces interacting with the EC2 instance where the finding is generated.
|
AssetAttributes.Builder |
networkInterfaces(NetworkInterface... networkInterfaces)
An array of the network interfaces interacting with the EC2 instance where the finding is generated.
|
AssetAttributes.Builder |
schemaVersion(Integer schemaVersion)
The schema version of this data type.
|
AssetAttributes.Builder |
tags(Collection<Tag> tags)
The tags related to the EC2 instance where the finding is generated.
|
AssetAttributes.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags related to the EC2 instance where the finding is generated.
|
AssetAttributes.Builder |
tags(Tag... tags)
The tags related to the EC2 instance where the finding is generated.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAssetAttributes.Builder schemaVersion(Integer schemaVersion)
The schema version of this data type.
schemaVersion - The schema version of this data type.AssetAttributes.Builder agentId(String agentId)
The ID of the agent that is installed on the EC2 instance where the finding is generated.
agentId - The ID of the agent that is installed on the EC2 instance where the finding is generated.AssetAttributes.Builder autoScalingGroup(String autoScalingGroup)
The Auto Scaling group of the EC2 instance where the finding is generated.
autoScalingGroup - The Auto Scaling group of the EC2 instance where the finding is generated.AssetAttributes.Builder amiId(String amiId)
The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.
amiId - The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is
generated.AssetAttributes.Builder hostname(String hostname)
The hostname of the EC2 instance where the finding is generated.
hostname - The hostname of the EC2 instance where the finding is generated.AssetAttributes.Builder ipv4Addresses(Collection<String> ipv4Addresses)
The list of IP v4 addresses of the EC2 instance where the finding is generated.
ipv4Addresses - The list of IP v4 addresses of the EC2 instance where the finding is generated.AssetAttributes.Builder ipv4Addresses(String... ipv4Addresses)
The list of IP v4 addresses of the EC2 instance where the finding is generated.
ipv4Addresses - The list of IP v4 addresses of the EC2 instance where the finding is generated.AssetAttributes.Builder tags(Collection<Tag> tags)
The tags related to the EC2 instance where the finding is generated.
tags - The tags related to the EC2 instance where the finding is generated.AssetAttributes.Builder tags(Tag... tags)
The tags related to the EC2 instance where the finding is generated.
tags - The tags related to the EC2 instance where the finding is generated.AssetAttributes.Builder tags(Consumer<Tag.Builder>... 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
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) AssetAttributes.Builder networkInterfaces(Collection<NetworkInterface> networkInterfaces)
An array of the network interfaces interacting with the EC2 instance where the finding is generated.
networkInterfaces - An array of the network interfaces interacting with the EC2 instance where the finding is generated.AssetAttributes.Builder networkInterfaces(NetworkInterface... networkInterfaces)
An array of the network interfaces interacting with the EC2 instance where the finding is generated.
networkInterfaces - An array of the network interfaces interacting with the EC2 instance where the finding is generated.AssetAttributes.Builder networkInterfaces(Consumer<NetworkInterface.Builder>... 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 via NetworkInterface.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #networkInterfaces(List.
networkInterfaces - a consumer that will call methods on
NetworkInterface.Builder#networkInterfaces(java.util.Collection) Copyright © 2023. All rights reserved.