Class EnableEnhancedMonitoringResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Represents the current state of the metrics that are in the enhanced state before the operation.Represents the list of all the metrics that would be in the enhanced state after the operation.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.toString()
Returns a string representation of this object; useful for testing and debugging.withCurrentShardLevelMetrics
(MetricsName... currentShardLevelMetrics) Represents the current state of the metrics that are in the enhanced state before the operation.withCurrentShardLevelMetrics
(String... currentShardLevelMetrics) Represents the current state of the metrics that are in the enhanced state before the operation.withCurrentShardLevelMetrics
(Collection<String> currentShardLevelMetrics) Represents the current state of the metrics that are in the enhanced state before the operation.withDesiredShardLevelMetrics
(MetricsName... desiredShardLevelMetrics) Represents the list of all the metrics that would be in the enhanced state after the operation.withDesiredShardLevelMetrics
(String... desiredShardLevelMetrics) Represents the list of all the metrics that would be in the enhanced state after the operation.withDesiredShardLevelMetrics
(Collection<String> desiredShardLevelMetrics) Represents the list of all the metrics that would be in the enhanced state after the operation.withStreamName
(String streamName) The name of the Amazon Kinesis stream.
-
Constructor Details
-
EnableEnhancedMonitoringResult
public EnableEnhancedMonitoringResult()
-
-
Method Details
-
setStreamName
The name of the Amazon Kinesis stream.
- Parameters:
streamName
- The name of the Amazon Kinesis stream.
-
getStreamName
The name of the Amazon Kinesis stream.
- Returns:
- The name of the Amazon Kinesis stream.
-
withStreamName
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
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:
-
setCurrentShardLevelMetrics
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:
-
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:
-
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:
-
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:
-
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:
-
setDesiredShardLevelMetrics
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:
-
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:
-
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:
-
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:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-