Class DisableEnhancedMonitoringRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.kinesis.model.DisableEnhancedMonitoringRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DisableEnhancedMonitoringRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for DisableEnhancedMonitoring.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DisableEnhancedMonitoringRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DisableEnhancedMonitoringRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<String>
getShardLevelMetrics()
List of shard-level metrics to disable.String
getStreamName()
The name of the Amazon Kinesis stream for which to disable enhanced monitoring.int
hashCode()
void
setShardLevelMetrics(Collection<String> shardLevelMetrics)
List of shard-level metrics to disable.void
setStreamName(String streamName)
The name of the Amazon Kinesis stream for which to disable enhanced monitoring.String
toString()
Returns a string representation of this object; useful for testing and debugging.DisableEnhancedMonitoringRequest
withShardLevelMetrics(MetricsName... shardLevelMetrics)
List of shard-level metrics to disable.DisableEnhancedMonitoringRequest
withShardLevelMetrics(String... shardLevelMetrics)
List of shard-level metrics to disable.DisableEnhancedMonitoringRequest
withShardLevelMetrics(Collection<String> shardLevelMetrics)
List of shard-level metrics to disable.DisableEnhancedMonitoringRequest
withStreamName(String streamName)
The name of the Amazon Kinesis stream for which to disable enhanced monitoring.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setStreamName
public void setStreamName(String streamName)
The name of the Amazon Kinesis stream for which to disable enhanced monitoring.
- Parameters:
streamName
- The name of the Amazon Kinesis stream for which to disable enhanced monitoring.
-
getStreamName
public String getStreamName()
The name of the Amazon Kinesis stream for which to disable enhanced monitoring.
- Returns:
- The name of the Amazon Kinesis stream for which to disable enhanced monitoring.
-
withStreamName
public DisableEnhancedMonitoringRequest withStreamName(String streamName)
The name of the Amazon Kinesis stream for which to disable enhanced monitoring.
- Parameters:
streamName
- The name of the Amazon Kinesis stream for which to disable enhanced monitoring.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getShardLevelMetrics
public List<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.
- Returns:
- 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.
-
- See Also:
MetricsName
-
-
setShardLevelMetrics
public void setShardLevelMetrics(Collection<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.
- Parameters:
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.
-
- See Also:
MetricsName
-
-
withShardLevelMetrics
public DisableEnhancedMonitoringRequest withShardLevelMetrics(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)
orwithShardLevelMetrics(java.util.Collection)
if you want to override the existing values.- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MetricsName
-
-
withShardLevelMetrics
public DisableEnhancedMonitoringRequest withShardLevelMetrics(Collection<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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MetricsName
-
-
withShardLevelMetrics
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MetricsName
-
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DisableEnhancedMonitoringRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-