Class AssetAttributes
- All Implemented Interfaces:
Serializable
,Cloneable
A collection of attributes of the host from which the finding is generated.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID of the agent that is installed on the EC2 instance where the finding is generated.getAmiId()
The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.The Auto Scaling group of the EC2 instance where the finding is generated.The hostname of the EC2 instance where the finding is generated.The list of IP v4 addresses of the EC2 instance where the finding is generated.The schema version of this data type.int
hashCode()
void
setAgentId
(String agentId) The ID of the agent that is installed on the EC2 instance where the finding is generated.void
The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.void
setAutoScalingGroup
(String autoScalingGroup) The Auto Scaling group of the EC2 instance where the finding is generated.void
setHostname
(String hostname) The hostname of the EC2 instance where the finding is generated.void
setIpv4Addresses
(Collection<String> ipv4Addresses) The list of IP v4 addresses of the EC2 instance where the finding is generated.void
setSchemaVersion
(Integer schemaVersion) The schema version of this data type.toString()
Returns a string representation of this object; useful for testing and debugging.withAgentId
(String agentId) The 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.withAutoScalingGroup
(String autoScalingGroup) The Auto Scaling group of the EC2 instance where the finding is generated.withHostname
(String hostname) The hostname of the EC2 instance where the finding is generated.withIpv4Addresses
(String... ipv4Addresses) The list of IP v4 addresses of the EC2 instance where the finding is generated.withIpv4Addresses
(Collection<String> ipv4Addresses) The list of IP v4 addresses of the EC2 instance where the finding is generated.withSchemaVersion
(Integer schemaVersion) The schema version of this data type.
-
Constructor Details
-
AssetAttributes
public AssetAttributes()
-
-
Method Details
-
setSchemaVersion
The schema version of this data type.
- Parameters:
schemaVersion
- The schema version of this data type.
-
getSchemaVersion
The schema version of this data type.
- Returns:
- The schema version of this data type.
-
withSchemaVersion
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.
-
setAgentId
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.
-
getAgentId
The ID of the agent that is installed on the EC2 instance where the finding is generated.
- Returns:
- The ID of the agent that is installed on the EC2 instance where the finding is generated.
-
withAgentId
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.
-
setAutoScalingGroup
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.
-
getAutoScalingGroup
The Auto Scaling group of the EC2 instance where the finding is generated.
- Returns:
- The Auto Scaling group of the EC2 instance where the finding is generated.
-
withAutoScalingGroup
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.
-
setAmiId
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.
-
getAmiId
The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.
- Returns:
- The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.
-
withAmiId
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.
-
setHostname
The hostname of the EC2 instance where the finding is generated.
- Parameters:
hostname
- The hostname of the EC2 instance where the finding is generated.
-
getHostname
The hostname of the EC2 instance where the finding is generated.
- Returns:
- The hostname of the EC2 instance where the finding is generated.
-
withHostname
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.
-
getIpv4Addresses
The list of IP v4 addresses of the EC2 instance where the finding is generated.
- Returns:
- The list of IP v4 addresses of the EC2 instance where the finding is generated.
-
setIpv4Addresses
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.
-
withIpv4Addresses
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)
orwithIpv4Addresses(java.util.Collection)
if you want to override the existing values.- 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.
-
withIpv4Addresses
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.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-