public class ConfigStreamDeliveryInfo extends Object implements Serializable
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 |
---|---|
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()
Constraints:
Allowed Values: Success, Failure
DeliveryStatus
public void setLastStatus(String lastStatus)
Constraints:
Allowed Values: Success, Failure
lastStatus
- Status of the last attempted delivery.DeliveryStatus
public ConfigStreamDeliveryInfo withLastStatus(String lastStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Success, Failure
lastStatus
- Status of the last attempted delivery.DeliveryStatus
public void setLastStatus(DeliveryStatus lastStatus)
Constraints:
Allowed Values: Success, Failure
lastStatus
- Status of the last attempted delivery.DeliveryStatus
public ConfigStreamDeliveryInfo withLastStatus(DeliveryStatus lastStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Success, Failure
lastStatus
- Status of the last attempted delivery.DeliveryStatus
public 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 Object
Object.toString()
Copyright © 2014. All rights reserved.