public class DisableEnhancedMonitoringRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input for DisableEnhancedMonitoring.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
shardLevelMetrics
List of shard-level metrics to disable.
|
private java.lang.String |
streamName
The name of the Amazon Kinesis stream for which to disable enhanced
monitoring.
|
NOOP
Constructor and Description |
---|
DisableEnhancedMonitoringRequest() |
Modifier and Type | Method and Description |
---|---|
DisableEnhancedMonitoringRequest |
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 disable.
|
java.lang.String |
getStreamName()
The name of the Amazon Kinesis stream for which to disable enhanced
monitoring.
|
int |
hashCode() |
void |
setShardLevelMetrics(java.util.Collection<java.lang.String> shardLevelMetrics)
List of shard-level metrics to disable.
|
void |
setStreamName(java.lang.String streamName)
The name of the Amazon Kinesis stream for which to disable enhanced
monitoring.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DisableEnhancedMonitoringRequest |
withShardLevelMetrics(java.util.Collection<java.lang.String> shardLevelMetrics)
List of shard-level metrics to disable.
|
DisableEnhancedMonitoringRequest |
withShardLevelMetrics(MetricsName... shardLevelMetrics)
List of shard-level metrics to disable.
|
DisableEnhancedMonitoringRequest |
withShardLevelMetrics(java.lang.String... shardLevelMetrics)
List of shard-level metrics to disable.
|
DisableEnhancedMonitoringRequest |
withStreamName(java.lang.String streamName)
The name of the Amazon Kinesis stream for which to disable 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 Amazon Kinesis stream for which to disable enhanced monitoring.
private SdkInternalList<java.lang.String> shardLevelMetrics
List of shard-level metrics to disable.
The following are the valid shard-level metrics. The value "
ALL
" disables 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 Amazon Kinesis stream for which to disable enhanced monitoring.
streamName
- The name of the Amazon Kinesis stream for which to disable
enhanced monitoring.public java.lang.String getStreamName()
The name of the Amazon Kinesis stream for which to disable enhanced monitoring.
public DisableEnhancedMonitoringRequest withStreamName(java.lang.String streamName)
The name of the Amazon Kinesis stream for which to disable enhanced monitoring.
streamName
- The name of the Amazon Kinesis stream for which to disable
enhanced monitoring.public java.util.List<java.lang.String> getShardLevelMetrics()
List of shard-level metrics to disable.
The following are the valid shard-level metrics. The value "
ALL
" disables 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
" disables 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 disable.
The following are the valid shard-level metrics. The value "
ALL
" disables 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 disable.
The following are the valid shard-level metrics. The value "
ALL
" disables 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 DisableEnhancedMonitoringRequest withShardLevelMetrics(java.lang.String... shardLevelMetrics)
List of shard-level metrics to disable.
The following are the valid shard-level metrics. The value "
ALL
" disables 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 disable.
The following are the valid shard-level metrics. The value "
ALL
" disables 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 DisableEnhancedMonitoringRequest withShardLevelMetrics(java.util.Collection<java.lang.String> shardLevelMetrics)
List of shard-level metrics to disable.
The following are the valid shard-level metrics. The value "
ALL
" disables 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 disable.
The following are the valid shard-level metrics. The value "
ALL
" disables 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 DisableEnhancedMonitoringRequest withShardLevelMetrics(MetricsName... shardLevelMetrics)
List of shard-level metrics to disable.
The following are the valid shard-level metrics. The value "
ALL
" disables 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 disable.
The following are the valid shard-level metrics. The value "
ALL
" disables 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 DisableEnhancedMonitoringRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()