Class Invalidation
- java.lang.Object
-
- com.amazonaws.services.cloudfront.model.Invalidation
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Invalidation extends Object implements Serializable, Cloneable
An invalidation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Invalidation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Invalidationclone()booleanequals(Object obj)DategetCreateTime()The date and time the invalidation request was first made.StringgetId()The identifier for the invalidation request.InvalidationBatchgetInvalidationBatch()The current invalidation information for the batch request.StringgetStatus()The status of the invalidation request.inthashCode()voidsetCreateTime(Date createTime)The date and time the invalidation request was first made.voidsetId(String id)The identifier for the invalidation request.voidsetInvalidationBatch(InvalidationBatch invalidationBatch)The current invalidation information for the batch request.voidsetStatus(String status)The status of the invalidation request.StringtoString()Returns a string representation of this object; useful for testing and debugging.InvalidationwithCreateTime(Date createTime)The date and time the invalidation request was first made.InvalidationwithId(String id)The identifier for the invalidation request.InvalidationwithInvalidationBatch(InvalidationBatch invalidationBatch)The current invalidation information for the batch request.InvalidationwithStatus(String status)The status of the invalidation request.
-
-
-
Method Detail
-
setId
public void setId(String id)
The identifier for the invalidation request. For example: IDFDVBD632BHDS5.- Parameters:
id- The identifier for the invalidation request. For example: IDFDVBD632BHDS5.
-
getId
public String getId()
The identifier for the invalidation request. For example: IDFDVBD632BHDS5.- Returns:
- The identifier for the invalidation request. For example: IDFDVBD632BHDS5.
-
withId
public Invalidation withId(String id)
The identifier for the invalidation request. For example: IDFDVBD632BHDS5.- Parameters:
id- The identifier for the invalidation request. For example: IDFDVBD632BHDS5.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(String status)
The status of the invalidation request. When the invalidation batch is finished, the status is Completed.- Parameters:
status- The status of the invalidation request. When the invalidation batch is finished, the status is Completed.
-
getStatus
public String getStatus()
The status of the invalidation request. When the invalidation batch is finished, the status is Completed.- Returns:
- The status of the invalidation request. When the invalidation batch is finished, the status is Completed.
-
withStatus
public Invalidation withStatus(String status)
The status of the invalidation request. When the invalidation batch is finished, the status is Completed.- Parameters:
status- The status of the invalidation request. When the invalidation batch is finished, the status is Completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreateTime
public void setCreateTime(Date createTime)
The date and time the invalidation request was first made.- Parameters:
createTime- The date and time the invalidation request was first made.
-
getCreateTime
public Date getCreateTime()
The date and time the invalidation request was first made.- Returns:
- The date and time the invalidation request was first made.
-
withCreateTime
public Invalidation withCreateTime(Date createTime)
The date and time the invalidation request was first made.- Parameters:
createTime- The date and time the invalidation request was first made.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInvalidationBatch
public void setInvalidationBatch(InvalidationBatch invalidationBatch)
The current invalidation information for the batch request.- Parameters:
invalidationBatch- The current invalidation information for the batch request.
-
getInvalidationBatch
public InvalidationBatch getInvalidationBatch()
The current invalidation information for the batch request.- Returns:
- The current invalidation information for the batch request.
-
withInvalidationBatch
public Invalidation withInvalidationBatch(InvalidationBatch invalidationBatch)
The current invalidation information for the batch request.- Parameters:
invalidationBatch- The current invalidation information for the batch request.- 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 Invalidation clone()
-
-