Class ConfigStreamDeliveryInfo
- java.lang.Object
-
- com.amazonaws.services.config.model.ConfigStreamDeliveryInfo
-
- All Implemented Interfaces:
Serializable
,Cloneable
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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigStreamDeliveryInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ConfigStreamDeliveryInfo clone()
-
-