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 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(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
withCurrentShardLevelMetrics(Collection<String> currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced state before 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
withDesiredShardLevelMetrics(Collection<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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DisableEnhancedMonitoringResult clone()
-
-