Class ConfigStreamDeliveryInfo

    • Constructor Detail

      • ConfigStreamDeliveryInfo

        public ConfigStreamDeliveryInfo()
    • Method Detail

      • 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:
        DeliveryStatus
      • 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:
        DeliveryStatus
      • 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:
        DeliveryStatus
      • 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:
        DeliveryStatus
      • 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:
        DeliveryStatus
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object