@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableEnhancedMonitoringResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring.
Constructor and Description |
---|
EnableEnhancedMonitoringResult() |
Modifier and Type | Method and Description |
---|---|
EnableEnhancedMonitoringResult |
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.
|
EnableEnhancedMonitoringResult |
withCurrentShardLevelMetrics(Collection<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(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(MetricsName... 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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setStreamName(String streamName)
The name of the Amazon Kinesis stream.
streamName
- The name of the Amazon Kinesis stream.public String getStreamName()
The name of the Amazon Kinesis stream.
public EnableEnhancedMonitoringResult withStreamName(String streamName)
The name of the Amazon Kinesis stream.
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.
MetricsName
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.MetricsName
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)
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(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.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 List<String> getDesiredShardLevelMetrics()
Represents the list of all the metrics that would be in the enhanced state after the operation.
MetricsName
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.MetricsName
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)
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(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.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 String toString()
toString
in class Object
Object.toString()
public EnableEnhancedMonitoringResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.