public class EnableEnhancedMonitoringRequest extends AmazonWebServiceRequest implements java.io.Serializable
Enables enhanced Kinesis data stream monitoring for shard-level metrics.
Constructor and Description |
---|
EnableEnhancedMonitoringRequest() |
Modifier and Type | Method and Description |
---|---|
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(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.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getStreamName()
The name of the stream for which to enable enhanced monitoring.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
The name of the stream for which to enable enhanced monitoring.
public void setStreamName(java.lang.String streamName)
The name of the stream for which to enable enhanced monitoring.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
streamName
- 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
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 Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
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 Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
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 Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data 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 Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
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 Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
Returns a reference to this object so that method calls can be chained together.
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 Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
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 Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
Returns a reference to this object so that method calls can be chained together.
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 Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.