public class EnableEnhancedMonitoringResult extends Object implements Serializable
Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring.
Constructor and Description |
---|
EnableEnhancedMonitoringResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
EnableEnhancedMonitoringResult |
withCurrentShardLevelMetrics(Collection<String> currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced
state before the operation.
|
EnableEnhancedMonitoringResult |
withCurrentShardLevelMetrics(String... currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced
state before the operation.
|
EnableEnhancedMonitoringResult |
withDesiredShardLevelMetrics(Collection<String> desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced
state after the operation.
|
EnableEnhancedMonitoringResult |
withDesiredShardLevelMetrics(String... desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced
state after the operation.
|
EnableEnhancedMonitoringResult |
withStreamName(String streamName)
The name of the Amazon Kinesis stream.
|
public String getStreamName()
The name of the Amazon Kinesis stream.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
The name of the Amazon Kinesis stream.
public void setStreamName(String streamName)
The name of the Amazon Kinesis stream.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
streamName
- The name of the Amazon Kinesis stream.
public EnableEnhancedMonitoringResult withStreamName(String streamName)
The name of the Amazon Kinesis stream.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
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.
Represents the current state of the metrics that are in the enhanced state before the operation.
public 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.
public EnableEnhancedMonitoringResult withCurrentShardLevelMetrics(String... currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced state before the operation.
Returns a reference to this object so that method calls can be chained together.
currentShardLevelMetrics
- Represents the current state of the metrics that are in the enhanced state before the operation.
public EnableEnhancedMonitoringResult withCurrentShardLevelMetrics(Collection<String> currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced state before the operation.
Returns a reference to this object so that method calls can be chained together.
currentShardLevelMetrics
- Represents the current state of the metrics that are in the enhanced state before the operation.
public List<String> getDesiredShardLevelMetrics()
Represents the list of all the metrics that would be in the enhanced state after the operation.
Represents the list of all the metrics that would be in the enhanced state after the operation.
public 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.
public EnableEnhancedMonitoringResult withDesiredShardLevelMetrics(String... desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced state after the operation.
Returns a reference to this object so that method calls can be chained together.
desiredShardLevelMetrics
- Represents the list of all the metrics that would be in the enhanced state after the operation.
public EnableEnhancedMonitoringResult withDesiredShardLevelMetrics(Collection<String> desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced state after the operation.
Returns a reference to this object so that method calls can be chained together.
desiredShardLevelMetrics
- Represents the list of all the metrics that would be in the enhanced state after the operation.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2017. All rights reserved.