public class EnableEnhancedMonitoringRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input for EnableEnhancedMonitoring.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
shardLevelMetrics
List of shard-level metrics to enable.
|
private java.lang.String |
streamName
The name of the stream for which to enable enhanced monitoring.
|
NOOP
Constructor and Description |
---|
EnableEnhancedMonitoringRequest() |
Modifier and Type | Method and Description |
---|---|
EnableEnhancedMonitoringRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getShardLevelMetrics()
List of shard-level metrics to enable.
|
java.lang.String |
getStreamName()
The name of the stream for which to enable enhanced monitoring.
|
int |
hashCode() |
void |
setShardLevelMetrics(java.util.Collection<java.lang.String> shardLevelMetrics)
List of shard-level metrics to enable.
|
void |
setStreamName(java.lang.String streamName)
The name of the stream for which to enable enhanced monitoring.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EnableEnhancedMonitoringRequest |
withShardLevelMetrics(java.util.Collection<java.lang.String> shardLevelMetrics)
List of shard-level metrics to enable.
|
EnableEnhancedMonitoringRequest |
withShardLevelMetrics(MetricsName... shardLevelMetrics)
List of shard-level metrics to enable.
|
EnableEnhancedMonitoringRequest |
withShardLevelMetrics(java.lang.String... shardLevelMetrics)
List of shard-level metrics to enable.
|
EnableEnhancedMonitoringRequest |
withStreamName(java.lang.String streamName)
The name of the stream for which to enable enhanced monitoring.
|
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
private java.lang.String streamName
The name of the stream for which to enable enhanced monitoring.
private SdkInternalList<java.lang.String> shardLevelMetrics
List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL
" enables every metric.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
public void setStreamName(java.lang.String streamName)
The name of the stream for which to enable enhanced monitoring.
streamName
- The name of the stream for which to enable enhanced monitoring.public java.lang.String getStreamName()
The name of the stream for which to enable enhanced monitoring.
public EnableEnhancedMonitoringRequest withStreamName(java.lang.String streamName)
The name of the stream for which to enable enhanced monitoring.
streamName
- The name of the stream for which to enable enhanced monitoring.public java.util.List<java.lang.String> getShardLevelMetrics()
List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL
" enables every metric.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
The following are the valid shard-level metrics. The value "
ALL
" enables every metric.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
MetricsName
public void setShardLevelMetrics(java.util.Collection<java.lang.String> shardLevelMetrics)
List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL
" enables every metric.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
shardLevelMetrics
- List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL
" enables every metric.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
MetricsName
public EnableEnhancedMonitoringRequest withShardLevelMetrics(java.lang.String... shardLevelMetrics)
List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL
" enables every metric.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
NOTE: This method appends the values to the existing list (if
any). Use setShardLevelMetrics(java.util.Collection)
or
withShardLevelMetrics(java.util.Collection)
if you want to
override the existing values.
shardLevelMetrics
- List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL
" enables every metric.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
MetricsName
public EnableEnhancedMonitoringRequest withShardLevelMetrics(java.util.Collection<java.lang.String> shardLevelMetrics)
List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL
" enables every metric.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
shardLevelMetrics
- List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL
" enables every metric.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
MetricsName
public EnableEnhancedMonitoringRequest withShardLevelMetrics(MetricsName... shardLevelMetrics)
List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL
" enables every metric.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
shardLevelMetrics
- List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL
" enables every metric.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
MetricsName
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public EnableEnhancedMonitoringRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()