Class DisableEnhancedMonitoringResult
- java.lang.Object
-
- com.amazonaws.services.kinesis.model.DisableEnhancedMonitoringResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DisableEnhancedMonitoringResult extends Object implements Serializable, Cloneable
Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DisableEnhancedMonitoringResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DisableEnhancedMonitoringResultclone()booleanequals(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.StringgetStreamName()The name of the Amazon Kinesis stream.inthashCode()voidsetCurrentShardLevelMetrics(Collection<String> currentShardLevelMetrics)Represents the current state of the metrics that are in the enhanced state before the operation.voidsetDesiredShardLevelMetrics(Collection<String> desiredShardLevelMetrics)Represents the list of all the metrics that would be in the enhanced state after the operation.voidsetStreamName(String streamName)The name of the Amazon Kinesis stream.StringtoString()Returns a string representation of this object; useful for testing and debugging.DisableEnhancedMonitoringResultwithCurrentShardLevelMetrics(MetricsName... currentShardLevelMetrics)Represents the current state of the metrics that are in the enhanced state before the operation.DisableEnhancedMonitoringResultwithCurrentShardLevelMetrics(String... currentShardLevelMetrics)Represents the current state of the metrics that are in the enhanced state before the operation.DisableEnhancedMonitoringResultwithCurrentShardLevelMetrics(Collection<String> currentShardLevelMetrics)Represents the current state of the metrics that are in the enhanced state before the operation.DisableEnhancedMonitoringResultwithDesiredShardLevelMetrics(MetricsName... desiredShardLevelMetrics)Represents the list of all the metrics that would be in the enhanced state after the operation.DisableEnhancedMonitoringResultwithDesiredShardLevelMetrics(String... desiredShardLevelMetrics)Represents the list of all the metrics that would be in the enhanced state after the operation.DisableEnhancedMonitoringResultwithDesiredShardLevelMetrics(Collection<String> desiredShardLevelMetrics)Represents the list of all the metrics that would be in the enhanced state after the operation.DisableEnhancedMonitoringResultwithStreamName(String streamName)The name of the Amazon Kinesis stream.
-
-
-
Method Detail
-
setStreamName
public void setStreamName(String streamName)
The name of the Amazon Kinesis stream.
- Parameters:
streamName- The name of the Amazon Kinesis stream.
-
getStreamName
public String getStreamName()
The name of the Amazon Kinesis stream.
- Returns:
- The name of the Amazon Kinesis stream.
-
withStreamName
public DisableEnhancedMonitoringResult withStreamName(String streamName)
The name of the Amazon Kinesis stream.
- Parameters:
streamName- The name of the Amazon Kinesis stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getCurrentShardLevelMetrics
public List<String> getCurrentShardLevelMetrics()
Represents the current state of the metrics that are in the enhanced state before the operation.
- Returns:
- Represents the current state of the metrics that are in the enhanced state before the operation.
- See Also:
MetricsName
-
setCurrentShardLevelMetrics
public void setCurrentShardLevelMetrics(Collection<String> currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced state before the operation.
- Parameters:
currentShardLevelMetrics- Represents the current state of the metrics that are in the enhanced state before the operation.- See Also:
MetricsName
-
withCurrentShardLevelMetrics
public 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)orwithCurrentShardLevelMetrics(java.util.Collection)if you want to override the existing values.- Parameters:
currentShardLevelMetrics- Represents the current state of the metrics that are in the enhanced state before the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MetricsName
-
withCurrentShardLevelMetrics
public DisableEnhancedMonitoringResult withCurrentShardLevelMetrics(Collection<String> currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced state before the operation.
- Parameters:
currentShardLevelMetrics- Represents the current state of the metrics that are in the enhanced state before the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MetricsName
-
withCurrentShardLevelMetrics
public DisableEnhancedMonitoringResult withCurrentShardLevelMetrics(MetricsName... currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced state before the operation.
- Parameters:
currentShardLevelMetrics- Represents the current state of the metrics that are in the enhanced state before the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MetricsName
-
getDesiredShardLevelMetrics
public List<String> getDesiredShardLevelMetrics()
Represents the list of all the metrics that would be in the enhanced state after the operation.
- Returns:
- Represents the list of all the metrics that would be in the enhanced state after the operation.
- See Also:
MetricsName
-
setDesiredShardLevelMetrics
public void setDesiredShardLevelMetrics(Collection<String> desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced state after the operation.
- Parameters:
desiredShardLevelMetrics- Represents the list of all the metrics that would be in the enhanced state after the operation.- See Also:
MetricsName
-
withDesiredShardLevelMetrics
public 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)orwithDesiredShardLevelMetrics(java.util.Collection)if you want to override the existing values.- Parameters:
desiredShardLevelMetrics- Represents the list of all the metrics that would be in the enhanced state after the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MetricsName
-
withDesiredShardLevelMetrics
public DisableEnhancedMonitoringResult withDesiredShardLevelMetrics(Collection<String> desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced state after the operation.
- Parameters:
desiredShardLevelMetrics- Represents the list of all the metrics that would be in the enhanced state after the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MetricsName
-
withDesiredShardLevelMetrics
public DisableEnhancedMonitoringResult withDesiredShardLevelMetrics(MetricsName... desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced state after the operation.
- Parameters:
desiredShardLevelMetrics- Represents the list of all the metrics that would be in the enhanced state after the operation.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DisableEnhancedMonitoringResult clone()
-
-