Class StartDataCollectionByAgentIdsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.applicationdiscovery.model.StartDataCollectionByAgentIdsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class StartDataCollectionByAgentIdsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description StartDataCollectionByAgentIdsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StartDataCollectionByAgentIdsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<String>
getAgentIds()
The IDs of the agents that you want to start collecting data.int
hashCode()
void
setAgentIds(Collection<String> agentIds)
The IDs of the agents that you want to start collecting data.String
toString()
Returns a string representation of this object; useful for testing and debugging.StartDataCollectionByAgentIdsRequest
withAgentIds(String... agentIds)
The IDs of the agents that you want to start collecting data.StartDataCollectionByAgentIdsRequest
withAgentIds(Collection<String> agentIds)
The IDs of the agents that you want to start collecting data.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
getAgentIds
public List<String> getAgentIds()
The IDs of the agents that you want to start collecting data. If you send a request to an AWS agent ID that you do not have permission to contact, according to your AWS account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system shows
Failed
in the Description field.- Returns:
- The IDs of the agents that you want to start collecting data. If
you send a request to an AWS agent ID that you do not have
permission to contact, according to your AWS account, the service
does not throw an exception. Instead, it returns the error in the
Description field. If you send a request to multiple
agents and you do not have permission to contact some of those
agents, the system does not throw an exception. Instead, the
system shows
Failed
in the Description field.
-
setAgentIds
public void setAgentIds(Collection<String> agentIds)
The IDs of the agents that you want to start collecting data. If you send a request to an AWS agent ID that you do not have permission to contact, according to your AWS account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system shows
Failed
in the Description field.- Parameters:
agentIds
- The IDs of the agents that you want to start collecting data. If you send a request to an AWS agent ID that you do not have permission to contact, according to your AWS account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system showsFailed
in the Description field.
-
withAgentIds
public StartDataCollectionByAgentIdsRequest withAgentIds(String... agentIds)
The IDs of the agents that you want to start collecting data. If you send a request to an AWS agent ID that you do not have permission to contact, according to your AWS account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system shows
Failed
in the Description field.NOTE: This method appends the values to the existing list (if any). Use
setAgentIds(java.util.Collection)
orwithAgentIds(java.util.Collection)
if you want to override the existing values.- Parameters:
agentIds
- The IDs of the agents that you want to start collecting data. If you send a request to an AWS agent ID that you do not have permission to contact, according to your AWS account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system showsFailed
in the Description field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAgentIds
public StartDataCollectionByAgentIdsRequest withAgentIds(Collection<String> agentIds)
The IDs of the agents that you want to start collecting data. If you send a request to an AWS agent ID that you do not have permission to contact, according to your AWS account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system shows
Failed
in the Description field.- Parameters:
agentIds
- The IDs of the agents that you want to start collecting data. If you send a request to an AWS agent ID that you do not have permission to contact, according to your AWS account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system showsFailed
in the Description field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public StartDataCollectionByAgentIdsRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-