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.
| Constructor and Description |
|---|
ConfigStreamDeliveryInfo() |
| Modifier and Type | Method and Description |
|---|---|
ConfigStreamDeliveryInfo |
clone() |
boolean |
equals(Object obj) |
String |
getLastErrorCode()
The error code from the last attempted delivery.
|
String |
getLastErrorMessage()
The error message from the last attempted delivery.
|
String |
getLastStatus()
Status of the last attempted delivery.
|
Date |
getLastStatusChangeTime()
The time from the last status change.
|
int |
hashCode() |
void |
setLastErrorCode(String lastErrorCode)
The error code from the last attempted delivery.
|
void |
setLastErrorMessage(String lastErrorMessage)
The error message from the last attempted delivery.
|
void |
setLastStatus(DeliveryStatus lastStatus)
Status of the last attempted delivery.
|
void |
setLastStatus(String lastStatus)
Status of the last attempted delivery.
|
void |
setLastStatusChangeTime(Date lastStatusChangeTime)
The time from the last status change.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConfigStreamDeliveryInfo |
withLastErrorCode(String lastErrorCode)
The error code from the last attempted delivery.
|
ConfigStreamDeliveryInfo |
withLastErrorMessage(String lastErrorMessage)
The error message from the last attempted delivery.
|
ConfigStreamDeliveryInfo |
withLastStatus(DeliveryStatus lastStatus)
Status of the last attempted delivery.
|
ConfigStreamDeliveryInfo |
withLastStatus(String lastStatus)
Status of the last attempted delivery.
|
ConfigStreamDeliveryInfo |
withLastStatusChangeTime(Date lastStatusChangeTime)
The time from the last status change.
|
public String getLastStatus()
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.
Constraints:
Allowed Values: Success, Failure, 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.
DeliveryStatuspublic void setLastStatus(String lastStatus)
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.
Constraints:
Allowed Values: Success, Failure, 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.
DeliveryStatuspublic ConfigStreamDeliveryInfo withLastStatus(String lastStatus)
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 a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Success, Failure, 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.
DeliveryStatuspublic void setLastStatus(DeliveryStatus lastStatus)
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.
Constraints:
Allowed Values: Success, Failure, 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.
DeliveryStatuspublic ConfigStreamDeliveryInfo withLastStatus(DeliveryStatus lastStatus)
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 a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Success, Failure, 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.
DeliveryStatuspublic String getLastErrorCode()
public void setLastErrorCode(String lastErrorCode)
lastErrorCode - The error code from the last attempted delivery.public ConfigStreamDeliveryInfo withLastErrorCode(String lastErrorCode)
Returns a reference to this object so that method calls can be chained together.
lastErrorCode - The error code from the last attempted delivery.public String getLastErrorMessage()
public void setLastErrorMessage(String lastErrorMessage)
lastErrorMessage - The error message from the last attempted delivery.public ConfigStreamDeliveryInfo withLastErrorMessage(String lastErrorMessage)
Returns a reference to this object so that method calls can be chained together.
lastErrorMessage - The error message from the last attempted delivery.public Date getLastStatusChangeTime()
public void setLastStatusChangeTime(Date lastStatusChangeTime)
lastStatusChangeTime - The time from the last status change.public ConfigStreamDeliveryInfo withLastStatusChangeTime(Date lastStatusChangeTime)
Returns a reference to this object so that method calls can be chained together.
lastStatusChangeTime - The time from the last status change.public String toString()
toString in class ObjectObject.toString()public ConfigStreamDeliveryInfo clone()
Copyright © 2015. All rights reserved.