public class DisableEnhancedMonitoringResult extends Object implements Serializable, Cloneable
Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring.
| Constructor and Description |
|---|
DisableEnhancedMonitoringResult() |
| Modifier and Type | Method and Description |
|---|---|
DisableEnhancedMonitoringResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCurrentShardLevelMetrics()
Represents the current state of the metrics that are in the enhanced
state before the operation.
|
List<String> |
getDesiredShardLevelMetrics()
Represents the list of all the metrics that would be in the enhanced
state after the operation.
|
String |
getStreamName()
The name of the Amazon Kinesis stream.
|
int |
hashCode() |
void |
setCurrentShardLevelMetrics(Collection<String> currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced
state before the operation.
|
void |
setDesiredShardLevelMetrics(Collection<String> desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced
state after the operation.
|
void |
setStreamName(String streamName)
The name of the Amazon Kinesis stream.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DisableEnhancedMonitoringResult |
withCurrentShardLevelMetrics(Collection<String> currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced
state before the operation.
|
DisableEnhancedMonitoringResult |
withCurrentShardLevelMetrics(MetricsName... currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced
state before the operation.
|
DisableEnhancedMonitoringResult |
withCurrentShardLevelMetrics(String... currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced
state before the operation.
|
DisableEnhancedMonitoringResult |
withDesiredShardLevelMetrics(Collection<String> desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced
state after the operation.
|
DisableEnhancedMonitoringResult |
withDesiredShardLevelMetrics(MetricsName... desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced
state after the operation.
|
DisableEnhancedMonitoringResult |
withDesiredShardLevelMetrics(String... desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced
state after the operation.
|
DisableEnhancedMonitoringResult |
withStreamName(String streamName)
The name of the Amazon Kinesis stream.
|
public void setStreamName(String streamName)
The name of the Amazon Kinesis stream.
streamName - The name of the Amazon Kinesis stream.public String getStreamName()
The name of the Amazon Kinesis stream.
public DisableEnhancedMonitoringResult withStreamName(String streamName)
The name of the Amazon Kinesis stream.
streamName - The name of the Amazon Kinesis stream.public List<String> getCurrentShardLevelMetrics()
Represents the current state of the metrics that are in the enhanced state before the operation.
MetricsNamepublic void setCurrentShardLevelMetrics(Collection<String> currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced state before the operation.
currentShardLevelMetrics - Represents the current state of the metrics that are in the
enhanced state before the operation.MetricsNamepublic DisableEnhancedMonitoringResult withCurrentShardLevelMetrics(String... currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced state before the operation.
NOTE: This method appends the values to the existing list (if
any). Use setCurrentShardLevelMetrics(java.util.Collection) or
withCurrentShardLevelMetrics(java.util.Collection) if you want
to override the existing values.
currentShardLevelMetrics - Represents the current state of the metrics that are in the
enhanced state before the operation.MetricsNamepublic DisableEnhancedMonitoringResult withCurrentShardLevelMetrics(Collection<String> currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced state before the operation.
currentShardLevelMetrics - Represents the current state of the metrics that are in the
enhanced state before the operation.MetricsNamepublic DisableEnhancedMonitoringResult withCurrentShardLevelMetrics(MetricsName... currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced state before the operation.
currentShardLevelMetrics - Represents the current state of the metrics that are in the
enhanced state before the operation.MetricsNamepublic List<String> getDesiredShardLevelMetrics()
Represents the list of all the metrics that would be in the enhanced state after the operation.
MetricsNamepublic void setDesiredShardLevelMetrics(Collection<String> desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced state after the operation.
desiredShardLevelMetrics - Represents the list of all the metrics that would be in the
enhanced state after the operation.MetricsNamepublic DisableEnhancedMonitoringResult withDesiredShardLevelMetrics(String... desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced state after the operation.
NOTE: This method appends the values to the existing list (if
any). Use setDesiredShardLevelMetrics(java.util.Collection) or
withDesiredShardLevelMetrics(java.util.Collection) if you want
to override the existing values.
desiredShardLevelMetrics - Represents the list of all the metrics that would be in the
enhanced state after the operation.MetricsNamepublic DisableEnhancedMonitoringResult withDesiredShardLevelMetrics(Collection<String> desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced state after the operation.
desiredShardLevelMetrics - Represents the list of all the metrics that would be in the
enhanced state after the operation.MetricsNamepublic DisableEnhancedMonitoringResult withDesiredShardLevelMetrics(MetricsName... desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced state after the operation.
desiredShardLevelMetrics - Represents the list of all the metrics that would be in the
enhanced state after the operation.MetricsNamepublic String toString()
toString in class ObjectObject.toString()public DisableEnhancedMonitoringResult clone()
Copyright © 2016. All rights reserved.