@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartDataCollectionByAgentIdsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartDataCollectionByAgentIdsRequest() |
Modifier and Type | Method and Description |
---|---|
StartDataCollectionByAgentIdsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAgentIds()
The IDs of the agents or connectors from which to start collecting data.
|
int |
hashCode() |
void |
setAgentIds(Collection<String> agentIds)
The IDs of the agents or connectors from which to start collecting data.
|
String |
toString()
Returns a string representation of this object.
|
StartDataCollectionByAgentIdsRequest |
withAgentIds(Collection<String> agentIds)
The IDs of the agents or connectors from which to start collecting data.
|
StartDataCollectionByAgentIdsRequest |
withAgentIds(String... agentIds)
The IDs of the agents or connectors from which to start collecting data.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public StartDataCollectionByAgentIdsRequest()
public List<String> getAgentIds()
The IDs of the agents or connectors from which to start collecting data. If you send a request to an
agent/connector ID that you do not have permission to contact, according to your Amazon Web Services 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/connectors and you do not have permission to contact some of those agents/connectors,
the system does not throw an exception. Instead, the system shows Failed
in the Description
field.
Failed
in the Description field.public void setAgentIds(Collection<String> agentIds)
The IDs of the agents or connectors from which to start collecting data. If you send a request to an
agent/connector ID that you do not have permission to contact, according to your Amazon Web Services 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/connectors and you do not have permission to contact some of those agents/connectors,
the system does not throw an exception. Instead, the system shows Failed
in the Description
field.
agentIds
- The IDs of the agents or connectors from which to start collecting data. If you send a request to an
agent/connector ID that you do not have permission to contact, according to your Amazon Web Services
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/connectors and you do not have permission to contact some
of those agents/connectors, the system does not throw an exception. Instead, the system shows
Failed
in the Description field.public StartDataCollectionByAgentIdsRequest withAgentIds(String... agentIds)
The IDs of the agents or connectors from which to start collecting data. If you send a request to an
agent/connector ID that you do not have permission to contact, according to your Amazon Web Services 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/connectors and you do not have permission to contact some of those agents/connectors,
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)
or withAgentIds(java.util.Collection)
if you want to override
the existing values.
agentIds
- The IDs of the agents or connectors from which to start collecting data. If you send a request to an
agent/connector ID that you do not have permission to contact, according to your Amazon Web Services
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/connectors and you do not have permission to contact some
of those agents/connectors, the system does not throw an exception. Instead, the system shows
Failed
in the Description field.public StartDataCollectionByAgentIdsRequest withAgentIds(Collection<String> agentIds)
The IDs of the agents or connectors from which to start collecting data. If you send a request to an
agent/connector ID that you do not have permission to contact, according to your Amazon Web Services 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/connectors and you do not have permission to contact some of those agents/connectors,
the system does not throw an exception. Instead, the system shows Failed
in the Description
field.
agentIds
- The IDs of the agents or connectors from which to start collecting data. If you send a request to an
agent/connector ID that you do not have permission to contact, according to your Amazon Web Services
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/connectors and you do not have permission to contact some
of those agents/connectors, the system does not throw an exception. Instead, the system shows
Failed
in the Description field.public String toString()
toString
in class Object
Object.toString()
public StartDataCollectionByAgentIdsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()