public class EnableEnhancedMonitoringResult
extends java.lang.Object
implements java.io.Serializable
Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring.
Constructor and Description |
---|
EnableEnhancedMonitoringResult() |
Modifier and Type | Method and Description |
---|---|
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 Kinesis data 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 Kinesis data 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(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(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 Kinesis data stream.
|
public java.lang.String getStreamName()
The name of the Kinesis data stream.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
The name of the Kinesis data stream.
public void setStreamName(java.lang.String streamName)
The name of the Kinesis data stream.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
streamName
- The name of the Kinesis data stream.
public EnableEnhancedMonitoringResult withStreamName(java.lang.String streamName)
The name of the Kinesis data 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 Kinesis data 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.
Represents the current state of the metrics that are in the enhanced state before the operation.
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.
public EnableEnhancedMonitoringResult withCurrentShardLevelMetrics(java.lang.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(java.util.Collection<java.lang.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 java.util.List<java.lang.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(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.
public EnableEnhancedMonitoringResult withDesiredShardLevelMetrics(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.