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 ConfigStreamDeliveryInfoclone()booleanequals(Object obj)StringgetLastErrorCode()The error code from the last attempted delivery.StringgetLastErrorMessage()The error message from the last attempted delivery.StringgetLastStatus()Status of the last attempted delivery.DategetLastStatusChangeTime()The time from the last status change.inthashCode()voidsetLastErrorCode(String lastErrorCode)The error code from the last attempted delivery.voidsetLastErrorMessage(String lastErrorMessage)The error message from the last attempted delivery.voidsetLastStatus(DeliveryStatus lastStatus)Status of the last attempted delivery.voidsetLastStatus(String lastStatus)Status of the last attempted delivery.voidsetLastStatusChangeTime(Date lastStatusChangeTime)The time from the last status change.StringtoString()Returns a string representation of this object; useful for testing and debugging.ConfigStreamDeliveryInfowithLastErrorCode(String lastErrorCode)The error code from the last attempted delivery.ConfigStreamDeliveryInfowithLastErrorMessage(String lastErrorMessage)The error message from the last attempted delivery.ConfigStreamDeliveryInfowithLastStatus(DeliveryStatus lastStatus)Status of the last attempted delivery.ConfigStreamDeliveryInfowithLastStatus(String lastStatus)Status of the last attempted delivery.ConfigStreamDeliveryInfowithLastStatusChangeTime(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ConfigStreamDeliveryInfo clone()
-
-