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.
|
copy
applyMutation, build
AssetAttributes.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 that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
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 that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #networkInterfaces(List)
.networkInterfaces
- a consumer that will call methods on List.Builder
#networkInterfaces(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.