@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartMetricStreamsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
StartMetricStreamsRequest() |
| Modifier and Type | Method and Description |
|---|---|
StartMetricStreamsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getNames()
The array of the names of metric streams to start streaming.
|
int |
hashCode() |
void |
setNames(Collection<String> names)
The array of the names of metric streams to start streaming.
|
String |
toString()
Returns a string representation of this object.
|
StartMetricStreamsRequest |
withNames(Collection<String> names)
The array of the names of metric streams to start streaming.
|
StartMetricStreamsRequest |
withNames(String... names)
The array of the names of metric streams to start streaming.
|
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, withSdkRequestTimeoutpublic List<String> getNames()
The array of the names of metric streams to start streaming.
This is an "all or nothing" operation. If you do not have permission to access all of the metric streams that you list here, then none of the streams that you list in the operation will start streaming.
This is an "all or nothing" operation. If you do not have permission to access all of the metric streams that you list here, then none of the streams that you list in the operation will start streaming.
public void setNames(Collection<String> names)
The array of the names of metric streams to start streaming.
This is an "all or nothing" operation. If you do not have permission to access all of the metric streams that you list here, then none of the streams that you list in the operation will start streaming.
names - The array of the names of metric streams to start streaming.
This is an "all or nothing" operation. If you do not have permission to access all of the metric streams that you list here, then none of the streams that you list in the operation will start streaming.
public StartMetricStreamsRequest withNames(String... names)
The array of the names of metric streams to start streaming.
This is an "all or nothing" operation. If you do not have permission to access all of the metric streams that you list here, then none of the streams that you list in the operation will start streaming.
NOTE: This method appends the values to the existing list (if any). Use
setNames(java.util.Collection) or withNames(java.util.Collection) if you want to override the
existing values.
names - The array of the names of metric streams to start streaming.
This is an "all or nothing" operation. If you do not have permission to access all of the metric streams that you list here, then none of the streams that you list in the operation will start streaming.
public StartMetricStreamsRequest withNames(Collection<String> names)
The array of the names of metric streams to start streaming.
This is an "all or nothing" operation. If you do not have permission to access all of the metric streams that you list here, then none of the streams that you list in the operation will start streaming.
names - The array of the names of metric streams to start streaming.
This is an "all or nothing" operation. If you do not have permission to access all of the metric streams that you list here, then none of the streams that you list in the operation will start streaming.
public String toString()
toString in class ObjectObject.toString()public StartMetricStreamsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()