@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 |
getStreamARN()
The ARN of the stream.
|
String |
getStreamName()
The name of the Kinesis data 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 |
setStreamARN(String streamARN)
The ARN of the stream.
|
void |
setStreamName(String streamName)
The name of the Kinesis data stream.
|
String |
toString()
Returns a string representation of this object.
|
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 |
withStreamARN(String streamARN)
The ARN of the stream.
|
EnableEnhancedMonitoringResult |
withStreamName(String streamName)
The name of the Kinesis data stream.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setStreamName(String streamName)
The name of the Kinesis data stream.
streamName
- The name of the Kinesis data stream.public String getStreamName()
The name of the Kinesis data stream.
public EnableEnhancedMonitoringResult withStreamName(String streamName)
The name of the Kinesis data stream.
streamName
- The name of the Kinesis data 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 void setStreamARN(String streamARN)
The ARN of the stream.
streamARN
- The ARN of the stream.public String getStreamARN()
The ARN of the stream.
public EnableEnhancedMonitoringResult withStreamARN(String streamARN)
The ARN of the stream.
streamARN
- The ARN of the stream.public String toString()
toString
in class Object
Object.toString()
public EnableEnhancedMonitoringResult clone()
Copyright © 2023. All rights reserved.