Class ConfigStreamDeliveryInfo

java.lang.Object
com.amazonaws.services.config.model.ConfigStreamDeliveryInfo
All Implemented Interfaces:
Serializable, Cloneable

public class ConfigStreamDeliveryInfo extends Object implements Serializable, Cloneable

A list that contains the status of the delivery of the configuration stream notification to the Amazon SNS topic.

See Also:
  • Constructor Details

    • ConfigStreamDeliveryInfo

      public ConfigStreamDeliveryInfo()
  • Method Details

    • setLastStatus

      public void setLastStatus(String lastStatus)

      Status of the last attempted delivery.

      Note Providing an SNS topic on a DeliveryChannel for AWS Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.

      Parameters:
      lastStatus - Status of the last attempted delivery.

      Note Providing an SNS topic on a DeliveryChannel for AWS Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.

      See Also:
    • getLastStatus

      public String getLastStatus()

      Status of the last attempted delivery.

      Note Providing an SNS topic on a DeliveryChannel for AWS Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.

      Returns:
      Status of the last attempted delivery.

      Note Providing an SNS topic on a DeliveryChannel for AWS Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.

      See Also:
    • withLastStatus

      public ConfigStreamDeliveryInfo withLastStatus(String lastStatus)

      Status of the last attempted delivery.

      Note Providing an SNS topic on a DeliveryChannel for AWS Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.

      Parameters:
      lastStatus - Status of the last attempted delivery.

      Note Providing an SNS topic on a DeliveryChannel for AWS Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setLastStatus

      public void setLastStatus(DeliveryStatus lastStatus)

      Status of the last attempted delivery.

      Note Providing an SNS topic on a DeliveryChannel for AWS Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.

      Parameters:
      lastStatus - Status of the last attempted delivery.

      Note Providing an SNS topic on a DeliveryChannel for AWS Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.

      See Also:
    • withLastStatus

      public ConfigStreamDeliveryInfo withLastStatus(DeliveryStatus lastStatus)

      Status of the last attempted delivery.

      Note Providing an SNS topic on a DeliveryChannel for AWS Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.

      Parameters:
      lastStatus - Status of the last attempted delivery.

      Note Providing an SNS topic on a DeliveryChannel for AWS Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setLastErrorCode

      public void setLastErrorCode(String lastErrorCode)

      The error code from the last attempted delivery.

      Parameters:
      lastErrorCode - The error code from the last attempted delivery.
    • getLastErrorCode

      public String getLastErrorCode()

      The error code from the last attempted delivery.

      Returns:
      The error code from the last attempted delivery.
    • withLastErrorCode

      public ConfigStreamDeliveryInfo withLastErrorCode(String lastErrorCode)

      The error code from the last attempted delivery.

      Parameters:
      lastErrorCode - The error code from the last attempted delivery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setLastErrorMessage

      public void setLastErrorMessage(String lastErrorMessage)

      The error message from the last attempted delivery.

      Parameters:
      lastErrorMessage - The error message from the last attempted delivery.
    • getLastErrorMessage

      public String getLastErrorMessage()

      The error message from the last attempted delivery.

      Returns:
      The error message from the last attempted delivery.
    • withLastErrorMessage

      public ConfigStreamDeliveryInfo withLastErrorMessage(String lastErrorMessage)

      The error message from the last attempted delivery.

      Parameters:
      lastErrorMessage - The error message from the last attempted delivery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setLastStatusChangeTime

      public void setLastStatusChangeTime(Date lastStatusChangeTime)

      The time from the last status change.

      Parameters:
      lastStatusChangeTime - The time from the last status change.
    • getLastStatusChangeTime

      public Date getLastStatusChangeTime()

      The time from the last status change.

      Returns:
      The time from the last status change.
    • withLastStatusChangeTime

      public ConfigStreamDeliveryInfo withLastStatusChangeTime(Date lastStatusChangeTime)

      The time from the last status change.

      Parameters:
      lastStatusChangeTime - The time from the last status change.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      public ConfigStreamDeliveryInfo clone()
      Overrides:
      clone in class Object