public class EnableEnhancedMonitoringResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
currentShardLevelMetrics
Represents the current state of the metrics that are in the enhanced
state before the operation.
|
private SdkInternalList<java.lang.String> |
desiredShardLevelMetrics
Represents the list of all the metrics that would be in the enhanced
state after the operation.
|
private java.lang.String |
streamName
The name of the Amazon Kinesis stream.
|
Constructor and Description |
---|
EnableEnhancedMonitoringResult() |
Modifier and Type | Method and Description |
---|---|
EnableEnhancedMonitoringResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getCurrentShardLevelMetrics()
Represents the current state of the metrics that are in the enhanced
state before the operation.
|
java.util.List<java.lang.String> |
getDesiredShardLevelMetrics()
Represents the list of all the metrics that would be in the enhanced
state after the operation.
|
java.lang.String |
getStreamName()
The name of the Amazon Kinesis stream.
|
int |
hashCode() |
void |
setCurrentShardLevelMetrics(java.util.Collection<java.lang.String> currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced
state before the operation.
|
void |
setDesiredShardLevelMetrics(java.util.Collection<java.lang.String> desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced
state after the operation.
|
void |
setStreamName(java.lang.String streamName)
The name of the Amazon Kinesis stream.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EnableEnhancedMonitoringResult |
withCurrentShardLevelMetrics(java.util.Collection<java.lang.String> currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced
state before the operation.
|
EnableEnhancedMonitoringResult |
withCurrentShardLevelMetrics(MetricsName... currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced
state before the operation.
|
EnableEnhancedMonitoringResult |
withCurrentShardLevelMetrics(java.lang.String... currentShardLevelMetrics)
Represents the current state of the metrics that are in the enhanced
state before the operation.
|
EnableEnhancedMonitoringResult |
withDesiredShardLevelMetrics(java.util.Collection<java.lang.String> desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced
state after the operation.
|
EnableEnhancedMonitoringResult |
withDesiredShardLevelMetrics(MetricsName... desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced
state after the operation.
|
EnableEnhancedMonitoringResult |
withDesiredShardLevelMetrics(java.lang.String... desiredShardLevelMetrics)
Represents the list of all the metrics that would be in the enhanced
state after the operation.
|
EnableEnhancedMonitoringResult |
withStreamName(java.lang.String streamName)
The name of the Amazon Kinesis stream.
|
private java.lang.String streamName
The name of the Amazon Kinesis stream.
private SdkInternalList<java.lang.String> currentShardLevelMetrics
Represents the current state of the metrics that are in the enhanced state before the operation.
private SdkInternalList<java.lang.String> desiredShardLevelMetrics
Represents the list of all the metrics that would be in the enhanced state after the operation.
public void setStreamName(java.lang.String streamName)
The name of the Amazon Kinesis stream.
streamName
- The name of the Amazon Kinesis stream.public java.lang.String getStreamName()
The name of the Amazon Kinesis stream.
public EnableEnhancedMonitoringResult withStreamName(java.lang.String streamName)
The name of the Amazon Kinesis stream.
streamName
- The name of the Amazon Kinesis stream.public java.util.List<java.lang.String> getCurrentShardLevelMetrics()
Represents the current state of the metrics that are in the enhanced state before the operation.
MetricsName
public void setCurrentShardLevelMetrics(java.util.Collection<java.lang.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.MetricsName
public EnableEnhancedMonitoringResult withCurrentShardLevelMetrics(java.lang.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)
or
withCurrentShardLevelMetrics(java.util.Collection)
if you want
to override the existing values.
currentShardLevelMetrics
- Represents the current state of the metrics that are in the
enhanced state before the operation.MetricsName
public EnableEnhancedMonitoringResult withCurrentShardLevelMetrics(java.util.Collection<java.lang.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.MetricsName
public EnableEnhancedMonitoringResult withCurrentShardLevelMetrics(MetricsName... 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.MetricsName
public java.util.List<java.lang.String> getDesiredShardLevelMetrics()
Represents the list of all the metrics that would be in the enhanced state after the operation.
MetricsName
public void setDesiredShardLevelMetrics(java.util.Collection<java.lang.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.MetricsName
public EnableEnhancedMonitoringResult withDesiredShardLevelMetrics(java.lang.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)
or
withDesiredShardLevelMetrics(java.util.Collection)
if you want
to override the existing values.
desiredShardLevelMetrics
- Represents the list of all the metrics that would be in the
enhanced state after the operation.MetricsName
public EnableEnhancedMonitoringResult withDesiredShardLevelMetrics(java.util.Collection<java.lang.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.MetricsName
public EnableEnhancedMonitoringResult withDesiredShardLevelMetrics(MetricsName... 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.MetricsName
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public EnableEnhancedMonitoringResult clone()
clone
in class java.lang.Object