Class ConfigExportDeliveryInfo
- java.lang.Object
-
- com.amazonaws.services.config.model.ConfigExportDeliveryInfo
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ConfigExportDeliveryInfo extends Object implements Serializable, Cloneable
A list that contains the status of the delivery of either the snapshot or the configuration history to the specified Amazon S3 bucket.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigExportDeliveryInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigExportDeliveryInfo
clone()
boolean
equals(Object obj)
Date
getLastAttemptTime()
The time of the last attempted delivery.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
getLastSuccessfulTime()
The time of the last successful delivery.Date
getNextDeliveryTime()
The time that the next delivery occurs.int
hashCode()
void
setLastAttemptTime(Date lastAttemptTime)
The time of the last attempted delivery.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
setLastSuccessfulTime(Date lastSuccessfulTime)
The time of the last successful delivery.void
setNextDeliveryTime(Date nextDeliveryTime)
The time that the next delivery occurs.String
toString()
Returns a string representation of this object; useful for testing and debugging.ConfigExportDeliveryInfo
withLastAttemptTime(Date lastAttemptTime)
The time of the last attempted delivery.ConfigExportDeliveryInfo
withLastErrorCode(String lastErrorCode)
The error code from the last attempted delivery.ConfigExportDeliveryInfo
withLastErrorMessage(String lastErrorMessage)
The error message from the last attempted delivery.ConfigExportDeliveryInfo
withLastStatus(DeliveryStatus lastStatus)
Status of the last attempted delivery.ConfigExportDeliveryInfo
withLastStatus(String lastStatus)
Status of the last attempted delivery.ConfigExportDeliveryInfo
withLastSuccessfulTime(Date lastSuccessfulTime)
The time of the last successful delivery.ConfigExportDeliveryInfo
withNextDeliveryTime(Date nextDeliveryTime)
The time that the next delivery occurs.
-
-
-
Method Detail
-
setLastStatus
public void setLastStatus(String lastStatus)
Status of the last attempted delivery.
- Parameters:
lastStatus
- Status of the last attempted delivery.- See Also:
DeliveryStatus
-
getLastStatus
public String getLastStatus()
Status of the last attempted delivery.
- Returns:
- Status of the last attempted delivery.
- See Also:
DeliveryStatus
-
withLastStatus
public ConfigExportDeliveryInfo withLastStatus(String lastStatus)
Status of the last attempted delivery.
- Parameters:
lastStatus
- Status of the last attempted delivery.- 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.
- Parameters:
lastStatus
- Status of the last attempted delivery.- See Also:
DeliveryStatus
-
withLastStatus
public ConfigExportDeliveryInfo withLastStatus(DeliveryStatus lastStatus)
Status of the last attempted delivery.
- Parameters:
lastStatus
- Status of the last attempted delivery.- 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 ConfigExportDeliveryInfo 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 ConfigExportDeliveryInfo 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.
-
setLastAttemptTime
public void setLastAttemptTime(Date lastAttemptTime)
The time of the last attempted delivery.
- Parameters:
lastAttemptTime
- The time of the last attempted delivery.
-
getLastAttemptTime
public Date getLastAttemptTime()
The time of the last attempted delivery.
- Returns:
- The time of the last attempted delivery.
-
withLastAttemptTime
public ConfigExportDeliveryInfo withLastAttemptTime(Date lastAttemptTime)
The time of the last attempted delivery.
- Parameters:
lastAttemptTime
- The time of the last attempted delivery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastSuccessfulTime
public void setLastSuccessfulTime(Date lastSuccessfulTime)
The time of the last successful delivery.
- Parameters:
lastSuccessfulTime
- The time of the last successful delivery.
-
getLastSuccessfulTime
public Date getLastSuccessfulTime()
The time of the last successful delivery.
- Returns:
- The time of the last successful delivery.
-
withLastSuccessfulTime
public ConfigExportDeliveryInfo withLastSuccessfulTime(Date lastSuccessfulTime)
The time of the last successful delivery.
- Parameters:
lastSuccessfulTime
- The time of the last successful delivery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextDeliveryTime
public void setNextDeliveryTime(Date nextDeliveryTime)
The time that the next delivery occurs.
- Parameters:
nextDeliveryTime
- The time that the next delivery occurs.
-
getNextDeliveryTime
public Date getNextDeliveryTime()
The time that the next delivery occurs.
- Returns:
- The time that the next delivery occurs.
-
withNextDeliveryTime
public ConfigExportDeliveryInfo withNextDeliveryTime(Date nextDeliveryTime)
The time that the next delivery occurs.
- Parameters:
nextDeliveryTime
- The time that the next delivery occurs.- 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 ConfigExportDeliveryInfo clone()
-
-