@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentDetails extends Object implements Serializable, Cloneable, StructuredPojo
Detailed information about the agent.
Constructor and Description |
---|
AgentDetails() |
Modifier and Type | Method and Description |
---|---|
AgentDetails |
clone() |
boolean |
equals(Object obj) |
List<Integer> |
getAgentCpuCores()
List of CPU cores reserved for the agent.
|
String |
getAgentVersion()
Current agent version.
|
List<ComponentVersion> |
getComponentVersions()
List of versions being used by agent components.
|
String |
getInstanceId()
ID of EC2 instance agent is running on.
|
String |
getInstanceType()
Type of EC2 instance agent is running on.
|
List<Integer> |
getReservedCpuCores()
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgentCpuCores(Collection<Integer> agentCpuCores)
List of CPU cores reserved for the agent.
|
void |
setAgentVersion(String agentVersion)
Current agent version.
|
void |
setComponentVersions(Collection<ComponentVersion> componentVersions)
List of versions being used by agent components.
|
void |
setInstanceId(String instanceId)
ID of EC2 instance agent is running on.
|
void |
setInstanceType(String instanceType)
Type of EC2 instance agent is running on.
|
void |
setReservedCpuCores(Collection<Integer> reservedCpuCores)
|
String |
toString()
Returns a string representation of this object.
|
AgentDetails |
withAgentCpuCores(Collection<Integer> agentCpuCores)
List of CPU cores reserved for the agent.
|
AgentDetails |
withAgentCpuCores(Integer... agentCpuCores)
List of CPU cores reserved for the agent.
|
AgentDetails |
withAgentVersion(String agentVersion)
Current agent version.
|
AgentDetails |
withComponentVersions(Collection<ComponentVersion> componentVersions)
List of versions being used by agent components.
|
AgentDetails |
withComponentVersions(ComponentVersion... componentVersions)
List of versions being used by agent components.
|
AgentDetails |
withInstanceId(String instanceId)
ID of EC2 instance agent is running on.
|
AgentDetails |
withInstanceType(String instanceType)
Type of EC2 instance agent is running on.
|
AgentDetails |
withReservedCpuCores(Collection<Integer> reservedCpuCores)
|
AgentDetails |
withReservedCpuCores(Integer... reservedCpuCores)
|
public List<Integer> getAgentCpuCores()
List of CPU cores reserved for the agent.
public void setAgentCpuCores(Collection<Integer> agentCpuCores)
List of CPU cores reserved for the agent.
agentCpuCores
- List of CPU cores reserved for the agent.public AgentDetails withAgentCpuCores(Integer... agentCpuCores)
List of CPU cores reserved for the agent.
NOTE: This method appends the values to the existing list (if any). Use
setAgentCpuCores(java.util.Collection)
or withAgentCpuCores(java.util.Collection)
if you want
to override the existing values.
agentCpuCores
- List of CPU cores reserved for the agent.public AgentDetails withAgentCpuCores(Collection<Integer> agentCpuCores)
List of CPU cores reserved for the agent.
agentCpuCores
- List of CPU cores reserved for the agent.public void setAgentVersion(String agentVersion)
Current agent version.
agentVersion
- Current agent version.public String getAgentVersion()
Current agent version.
public AgentDetails withAgentVersion(String agentVersion)
Current agent version.
agentVersion
- Current agent version.public List<ComponentVersion> getComponentVersions()
List of versions being used by agent components.
public void setComponentVersions(Collection<ComponentVersion> componentVersions)
List of versions being used by agent components.
componentVersions
- List of versions being used by agent components.public AgentDetails withComponentVersions(ComponentVersion... componentVersions)
List of versions being used by agent components.
NOTE: This method appends the values to the existing list (if any). Use
setComponentVersions(java.util.Collection)
or withComponentVersions(java.util.Collection)
if
you want to override the existing values.
componentVersions
- List of versions being used by agent components.public AgentDetails withComponentVersions(Collection<ComponentVersion> componentVersions)
List of versions being used by agent components.
componentVersions
- List of versions being used by agent components.public void setInstanceId(String instanceId)
ID of EC2 instance agent is running on.
instanceId
- ID of EC2 instance agent is running on.public String getInstanceId()
ID of EC2 instance agent is running on.
public AgentDetails withInstanceId(String instanceId)
ID of EC2 instance agent is running on.
instanceId
- ID of EC2 instance agent is running on.public void setInstanceType(String instanceType)
Type of EC2 instance agent is running on.
instanceType
- Type of EC2 instance agent is running on.public String getInstanceType()
Type of EC2 instance agent is running on.
public AgentDetails withInstanceType(String instanceType)
Type of EC2 instance agent is running on.
instanceType
- Type of EC2 instance agent is running on.public List<Integer> getReservedCpuCores()
This field should not be used. Use agentCpuCores instead.
List of CPU cores reserved for processes other than the agent running on the EC2 instance.
This field should not be used. Use agentCpuCores instead.
List of CPU cores reserved for processes other than the agent running on the EC2 instance.
public void setReservedCpuCores(Collection<Integer> reservedCpuCores)
This field should not be used. Use agentCpuCores instead.
List of CPU cores reserved for processes other than the agent running on the EC2 instance.
reservedCpuCores
- This field should not be used. Use agentCpuCores instead.
List of CPU cores reserved for processes other than the agent running on the EC2 instance.
public AgentDetails withReservedCpuCores(Integer... reservedCpuCores)
This field should not be used. Use agentCpuCores instead.
List of CPU cores reserved for processes other than the agent running on the EC2 instance.
NOTE: This method appends the values to the existing list (if any). Use
setReservedCpuCores(java.util.Collection)
or withReservedCpuCores(java.util.Collection)
if you
want to override the existing values.
reservedCpuCores
- This field should not be used. Use agentCpuCores instead.
List of CPU cores reserved for processes other than the agent running on the EC2 instance.
public AgentDetails withReservedCpuCores(Collection<Integer> reservedCpuCores)
This field should not be used. Use agentCpuCores instead.
List of CPU cores reserved for processes other than the agent running on the EC2 instance.
reservedCpuCores
- This field should not be used. Use agentCpuCores instead.
List of CPU cores reserved for processes other than the agent running on the EC2 instance.
public String toString()
toString
in class Object
Object.toString()
public AgentDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.