public class ConfigStreamDeliveryInfo
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A list that contains the status of the delivery of the configuration stream notification to the Amazon SNS topic.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
lastErrorCode
The error code from the last attempted delivery.
|
private java.lang.String |
lastErrorMessage
The error message from the last attempted delivery.
|
private java.lang.String |
lastStatus
Status of the last attempted delivery.
|
private java.util.Date |
lastStatusChangeTime
The time from the last status change.
|
Constructor and Description |
---|
ConfigStreamDeliveryInfo() |
Modifier and Type | Method and Description |
---|---|
ConfigStreamDeliveryInfo |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLastErrorCode()
The error code from the last attempted delivery.
|
java.lang.String |
getLastErrorMessage()
The error message from the last attempted delivery.
|
java.lang.String |
getLastStatus()
Status of the last attempted delivery.
|
java.util.Date |
getLastStatusChangeTime()
The time from the last status change.
|
int |
hashCode() |
void |
setLastErrorCode(java.lang.String lastErrorCode)
The error code from the last attempted delivery.
|
void |
setLastErrorMessage(java.lang.String lastErrorMessage)
The error message from the last attempted delivery.
|
void |
setLastStatus(DeliveryStatus lastStatus)
Status of the last attempted delivery.
|
void |
setLastStatus(java.lang.String lastStatus)
Status of the last attempted delivery.
|
void |
setLastStatusChangeTime(java.util.Date lastStatusChangeTime)
The time from the last status change.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConfigStreamDeliveryInfo |
withLastErrorCode(java.lang.String lastErrorCode)
The error code from the last attempted delivery.
|
ConfigStreamDeliveryInfo |
withLastErrorMessage(java.lang.String lastErrorMessage)
The error message from the last attempted delivery.
|
ConfigStreamDeliveryInfo |
withLastStatus(DeliveryStatus lastStatus)
Status of the last attempted delivery.
|
ConfigStreamDeliveryInfo |
withLastStatus(java.lang.String lastStatus)
Status of the last attempted delivery.
|
ConfigStreamDeliveryInfo |
withLastStatusChangeTime(java.util.Date lastStatusChangeTime)
The time from the last status change.
|
private java.lang.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.
private java.lang.String lastErrorCode
The error code from the last attempted delivery.
private java.lang.String lastErrorMessage
The error message from the last attempted delivery.
private java.util.Date lastStatusChangeTime
The time from the last status change.
public void setLastStatus(java.lang.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.
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.
DeliveryStatus
public java.lang.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.
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.
DeliveryStatus
public ConfigStreamDeliveryInfo withLastStatus(java.lang.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.
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.
DeliveryStatus
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.
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.
DeliveryStatus
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.
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.
DeliveryStatus
public void setLastErrorCode(java.lang.String lastErrorCode)
The error code from the last attempted delivery.
lastErrorCode
- The error code from the last attempted delivery.public java.lang.String getLastErrorCode()
The error code from the last attempted delivery.
public ConfigStreamDeliveryInfo withLastErrorCode(java.lang.String lastErrorCode)
The error code from the last attempted delivery.
lastErrorCode
- The error code from the last attempted delivery.public void setLastErrorMessage(java.lang.String lastErrorMessage)
The error message from the last attempted delivery.
lastErrorMessage
- The error message from the last attempted delivery.public java.lang.String getLastErrorMessage()
The error message from the last attempted delivery.
public ConfigStreamDeliveryInfo withLastErrorMessage(java.lang.String lastErrorMessage)
The error message from the last attempted delivery.
lastErrorMessage
- The error message from the last attempted delivery.public void setLastStatusChangeTime(java.util.Date lastStatusChangeTime)
The time from the last status change.
lastStatusChangeTime
- The time from the last status change.public java.util.Date getLastStatusChangeTime()
The time from the last status change.
public ConfigStreamDeliveryInfo withLastStatusChangeTime(java.util.Date lastStatusChangeTime)
The time from the last status change.
lastStatusChangeTime
- The time from the last status change.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ConfigStreamDeliveryInfo clone()
clone
in class java.lang.Object