@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfigStreamDeliveryInfo extends Object implements Serializable, Cloneable, StructuredPojo
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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.
|
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 void setLastStatus(String lastStatus)
Status of the last attempted delivery.
Note Providing an SNS topic on a DeliveryChannel for 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 Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.
DeliveryStatuspublic String getLastStatus()
Status of the last attempted delivery.
Note Providing an SNS topic on a DeliveryChannel for 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 Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.
DeliveryStatuspublic ConfigStreamDeliveryInfo withLastStatus(String lastStatus)
Status of the last attempted delivery.
Note Providing an SNS topic on a DeliveryChannel for 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 Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.
DeliveryStatuspublic void setLastStatus(DeliveryStatus lastStatus)
Status of the last attempted delivery.
Note Providing an SNS topic on a DeliveryChannel for 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 Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.
DeliveryStatuspublic ConfigStreamDeliveryInfo withLastStatus(DeliveryStatus lastStatus)
Status of the last attempted delivery.
Note Providing an SNS topic on a DeliveryChannel for 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 Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.
DeliveryStatuspublic void setLastErrorCode(String lastErrorCode)
The error code from the last attempted delivery.
lastErrorCode - The error code from the last attempted delivery.public String getLastErrorCode()
The error code from the last attempted delivery.
public ConfigStreamDeliveryInfo withLastErrorCode(String lastErrorCode)
The error code from the last attempted delivery.
lastErrorCode - The error code from the last attempted delivery.public void setLastErrorMessage(String lastErrorMessage)
The error message from the last attempted delivery.
lastErrorMessage - The error message from the last attempted delivery.public String getLastErrorMessage()
The error message from the last attempted delivery.
public ConfigStreamDeliveryInfo withLastErrorMessage(String lastErrorMessage)
The error message from the last attempted delivery.
lastErrorMessage - The error message from the last attempted delivery.public void setLastStatusChangeTime(Date lastStatusChangeTime)
The time from the last status change.
lastStatusChangeTime - The time from the last status change.public Date getLastStatusChangeTime()
The time from the last status change.
public ConfigStreamDeliveryInfo withLastStatusChangeTime(Date lastStatusChangeTime)
The time from the last status change.
lastStatusChangeTime - The time from the last status change.public String toString()
toString in class ObjectObject.toString()public ConfigStreamDeliveryInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.