CopyableBuilder<AssetAttributes.Builder,AssetAttributes>
, SdkBuilder<AssetAttributes.Builder,AssetAttributes>
public static interface AssetAttributes.Builder extends CopyableBuilder<AssetAttributes.Builder,AssetAttributes>
Modifier and Type | Method | 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(String... ipv4Addresses) |
The list of IP v4 addresses 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 |
schemaVersion(Integer schemaVersion) |
The schema version of this data type.
|
copy
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setIpv4Addresses(java.util.Collection)
or #withIpv4Addresses(java.util.Collection)
if you
want to override the existing values.
ipv4Addresses
- The list of IP v4 addresses of the EC2 instance where the finding is generated.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.