Class AgentPreview
java.lang.Object
com.amazonaws.services.inspector.model.AgentPreview
- All Implemented Interfaces:
Serializable
,Cloneable
Used as a response element in the PreviewAgents action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID of the EC2 instance where the agent is installed.The Auto Scaling group for the EC2 instance where the agent is installed.int
hashCode()
void
setAgentId
(String agentId) The ID of the EC2 instance where the agent is installed.void
setAutoScalingGroup
(String autoScalingGroup) The Auto Scaling group for the EC2 instance where the agent is installed.toString()
Returns a string representation of this object; useful for testing and debugging.withAgentId
(String agentId) The ID of the EC2 instance where the agent is installed.withAutoScalingGroup
(String autoScalingGroup) The Auto Scaling group for the EC2 instance where the agent is installed.
-
Constructor Details
-
AgentPreview
public AgentPreview()
-
-
Method Details
-
setAgentId
The ID of the EC2 instance where the agent is installed.
- Parameters:
agentId
- The ID of the EC2 instance where the agent is installed.
-
getAgentId
The ID of the EC2 instance where the agent is installed.
- Returns:
- The ID of the EC2 instance where the agent is installed.
-
withAgentId
The ID of the EC2 instance where the agent is installed.
- Parameters:
agentId
- The ID of the EC2 instance where the agent is installed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAutoScalingGroup
The Auto Scaling group for the EC2 instance where the agent is installed.
- Parameters:
autoScalingGroup
- The Auto Scaling group for the EC2 instance where the agent is installed.
-
getAutoScalingGroup
The Auto Scaling group for the EC2 instance where the agent is installed.
- Returns:
- The Auto Scaling group for the EC2 instance where the agent is installed.
-
withAutoScalingGroup
The Auto Scaling group for the EC2 instance where the agent is installed.
- Parameters:
autoScalingGroup
- The Auto Scaling group for the EC2 instance where the agent is installed.- 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
-