Class EnableEnhancedMonitoringResult
- java.lang.Object
-
- com.amazonaws.services.kinesis.model.EnableEnhancedMonitoringResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class EnableEnhancedMonitoringResult extends Object implements Serializable, Cloneable
Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnableEnhancedMonitoringResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnableEnhancedMonitoringResultclone()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.EnableEnhancedMonitoringResultwithCurrentShardLevelMetrics(MetricsName... currentShardLevelMetrics)Represents the current state of the metrics that are in the enhanced state before the operation.EnableEnhancedMonitoringResultwithCurrentShardLevelMetrics(String... currentShardLevelMetrics)Represents the current state of the metrics that are in the enhanced state before the operation.EnableEnhancedMonitoringResultwithCurrentShardLevelMetrics(Collection<String> currentShardLevelMetrics)Represents the current state of the metrics that are in the enhanced state before the operation.EnableEnhancedMonitoringResultwithDesiredShardLevelMetrics(MetricsName... desiredShardLevelMetrics)Represents the list of all the metrics that would be in the enhanced state after the operation.EnableEnhancedMonitoringResultwithDesiredShardLevelMetrics(String... desiredShardLevelMetrics)Represents the list of all the metrics that would be in the enhanced state after the operation.EnableEnhancedMonitoringResultwithDesiredShardLevelMetrics(Collection<String> desiredShardLevelMetrics)Represents the list of all the metrics that would be in the enhanced state after the operation.EnableEnhancedMonitoringResultwithStreamName(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 EnableEnhancedMonitoringResult 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 EnableEnhancedMonitoringResult 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 EnableEnhancedMonitoringResult 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 EnableEnhancedMonitoringResult 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 EnableEnhancedMonitoringResult 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 EnableEnhancedMonitoringResult 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 EnableEnhancedMonitoringResult 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 EnableEnhancedMonitoringResult clone()
-
-