@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetAttributes extends Object implements Serializable, Cloneable, StructuredPojo
A collection of attributes of the host from which the finding is generated.
Constructor and Description |
---|
AssetAttributes() |
Modifier and Type | Method and Description |
---|---|
AssetAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getAgentId()
The ID of the agent that is installed on the EC2 instance where the finding is generated.
|
String |
getAmiId()
The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.
|
String |
getAutoScalingGroup()
The Auto Scaling group of the EC2 instance where the finding is generated.
|
String |
getHostname()
The hostname of the EC2 instance where the finding is generated.
|
List<String> |
getIpv4Addresses()
The list of IP v4 addresses of the EC2 instance where the finding is generated.
|
List<NetworkInterface> |
getNetworkInterfaces()
An array of the network interfaces interacting with the EC2 instance where the finding is generated.
|
Integer |
getSchemaVersion()
The schema version of this data type.
|
List<Tag> |
getTags()
The tags related to the EC2 instance where the finding is generated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgentId(String agentId)
The ID of the agent that is installed on the EC2 instance where the finding is generated.
|
void |
setAmiId(String amiId)
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 |
setNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
An array of the network interfaces interacting with the EC2 instance where the finding is generated.
|
void |
setSchemaVersion(Integer schemaVersion)
The schema version of this data type.
|
void |
setTags(Collection<Tag> tags)
The tags related to the EC2 instance where the finding is generated.
|
String |
toString()
Returns a string representation of this object.
|
AssetAttributes |
withAgentId(String agentId)
The ID of the agent that is installed on the EC2 instance where the finding is generated.
|
AssetAttributes |
withAmiId(String amiId)
The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.
|
AssetAttributes |
withAutoScalingGroup(String autoScalingGroup)
The Auto Scaling group of the EC2 instance where the finding is generated.
|
AssetAttributes |
withHostname(String hostname)
The hostname of the EC2 instance where the finding is generated.
|
AssetAttributes |
withIpv4Addresses(Collection<String> ipv4Addresses)
The list of IP v4 addresses of the EC2 instance where the finding is generated.
|
AssetAttributes |
withIpv4Addresses(String... ipv4Addresses)
The list of IP v4 addresses of the EC2 instance where the finding is generated.
|
AssetAttributes |
withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
An array of the network interfaces interacting with the EC2 instance where the finding is generated.
|
AssetAttributes |
withNetworkInterfaces(NetworkInterface... networkInterfaces)
An array of the network interfaces interacting with the EC2 instance where the finding is generated.
|
AssetAttributes |
withSchemaVersion(Integer schemaVersion)
The schema version of this data type.
|
AssetAttributes |
withTags(Collection<Tag> tags)
The tags related to the EC2 instance where the finding is generated.
|
AssetAttributes |
withTags(Tag... tags)
The tags related to the EC2 instance where the finding is generated.
|
public void setSchemaVersion(Integer schemaVersion)
The schema version of this data type.
schemaVersion
- The schema version of this data type.public Integer getSchemaVersion()
The schema version of this data type.
public AssetAttributes withSchemaVersion(Integer schemaVersion)
The schema version of this data type.
schemaVersion
- The schema version of this data type.public void setAgentId(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.public String getAgentId()
The ID of the agent that is installed on the EC2 instance where the finding is generated.
public AssetAttributes withAgentId(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.public void setAutoScalingGroup(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.public String getAutoScalingGroup()
The Auto Scaling group of the EC2 instance where the finding is generated.
public AssetAttributes withAutoScalingGroup(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.public void setAmiId(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.public String getAmiId()
The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.
public AssetAttributes withAmiId(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.public void setHostname(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.public String getHostname()
The hostname of the EC2 instance where the finding is generated.
public AssetAttributes withHostname(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.public List<String> getIpv4Addresses()
The list of IP v4 addresses of the EC2 instance where the finding is generated.
public void setIpv4Addresses(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.public AssetAttributes withIpv4Addresses(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.public AssetAttributes withIpv4Addresses(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.public List<Tag> getTags()
The tags related to the EC2 instance where the finding is generated.
public void setTags(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.public AssetAttributes withTags(Tag... tags)
The tags related to the EC2 instance where the finding is generated.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags related to the EC2 instance where the finding is generated.public AssetAttributes withTags(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.public List<NetworkInterface> getNetworkInterfaces()
An array of the network interfaces interacting with the EC2 instance where the finding is generated.
public void setNetworkInterfaces(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.public AssetAttributes withNetworkInterfaces(NetworkInterface... networkInterfaces)
An array of the network interfaces interacting with the EC2 instance where the finding is generated.
NOTE: This method appends the values to the existing list (if any). Use
setNetworkInterfaces(java.util.Collection)
or withNetworkInterfaces(java.util.Collection)
if
you want to override the existing values.
networkInterfaces
- An array of the network interfaces interacting with the EC2 instance where the finding is generated.public AssetAttributes withNetworkInterfaces(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.public String toString()
toString
in class Object
Object.toString()
public AssetAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.