Class DisableEnhancedMonitoringResult

java.lang.Object
com.amazonaws.services.kinesis.model.DisableEnhancedMonitoringResult
All Implemented Interfaces:
Serializable, Cloneable

public class DisableEnhancedMonitoringResult extends Object implements Serializable, Cloneable

Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring.

See Also:
  • Constructor Details

    • DisableEnhancedMonitoringResult

      public DisableEnhancedMonitoringResult()
  • Method Details

    • setStreamName

      public void setStreamName(String streamName)

      The name of the Amazon Kinesis stream.

      Parameters:
      streamName - The name of the Amazon Kinesis stream.
    • getStreamName

      public String getStreamName()

      The name of the Amazon Kinesis stream.

      Returns:
      The name of the Amazon Kinesis stream.
    • withStreamName

      public DisableEnhancedMonitoringResult withStreamName(String streamName)

      The name of the Amazon Kinesis stream.

      Parameters:
      streamName - The name of the Amazon Kinesis stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getCurrentShardLevelMetrics

      public List<String> getCurrentShardLevelMetrics()

      Represents the current state of the metrics that are in the enhanced state before the operation.

      Returns:
      Represents the current state of the metrics that are in the enhanced state before the operation.
      See Also:
    • setCurrentShardLevelMetrics

      public void setCurrentShardLevelMetrics(Collection<String> currentShardLevelMetrics)

      Represents the current state of the metrics that are in the enhanced state before the operation.

      Parameters:
      currentShardLevelMetrics - Represents the current state of the metrics that are in the enhanced state before the operation.
      See Also:
    • withCurrentShardLevelMetrics

      public DisableEnhancedMonitoringResult 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.

      Parameters:
      currentShardLevelMetrics - Represents the current state of the metrics that are in the enhanced state before the operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • withCurrentShardLevelMetrics

      public DisableEnhancedMonitoringResult withCurrentShardLevelMetrics(Collection<String> currentShardLevelMetrics)

      Represents the current state of the metrics that are in the enhanced state before the operation.

      Parameters:
      currentShardLevelMetrics - Represents the current state of the metrics that are in the enhanced state before the operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • withCurrentShardLevelMetrics

      public DisableEnhancedMonitoringResult withCurrentShardLevelMetrics(MetricsName... currentShardLevelMetrics)

      Represents the current state of the metrics that are in the enhanced state before the operation.

      Parameters:
      currentShardLevelMetrics - Represents the current state of the metrics that are in the enhanced state before the operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • getDesiredShardLevelMetrics

      public List<String> getDesiredShardLevelMetrics()

      Represents the list of all the metrics that would be in the enhanced state after the operation.

      Returns:
      Represents the list of all the metrics that would be in the enhanced state after the operation.
      See Also:
    • setDesiredShardLevelMetrics

      public void setDesiredShardLevelMetrics(Collection<String> desiredShardLevelMetrics)

      Represents the list of all the metrics that would be in the enhanced state after the operation.

      Parameters:
      desiredShardLevelMetrics - Represents the list of all the metrics that would be in the enhanced state after the operation.
      See Also:
    • withDesiredShardLevelMetrics

      public DisableEnhancedMonitoringResult 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.

      Parameters:
      desiredShardLevelMetrics - Represents the list of all the metrics that would be in the enhanced state after the operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • withDesiredShardLevelMetrics

      public DisableEnhancedMonitoringResult withDesiredShardLevelMetrics(Collection<String> desiredShardLevelMetrics)

      Represents the list of all the metrics that would be in the enhanced state after the operation.

      Parameters:
      desiredShardLevelMetrics - Represents the list of all the metrics that would be in the enhanced state after the operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • withDesiredShardLevelMetrics

      public DisableEnhancedMonitoringResult withDesiredShardLevelMetrics(MetricsName... desiredShardLevelMetrics)

      Represents the list of all the metrics that would be in the enhanced state after the operation.

      Parameters:
      desiredShardLevelMetrics - Represents the list of all the metrics that would be in the enhanced state after the operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object