@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.
|
Integer |
getSchemaVersion()
The schema version of this data type.
|
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 |
setSchemaVersion(Integer schemaVersion)
The schema version of this data type.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 |
withSchemaVersion(Integer schemaVersion)
The schema version of this data type.
|
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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.