Class Invalidation
java.lang.Object
com.amazonaws.services.cloudfront.model.Invalidation
- All Implemented Interfaces:
Serializable
,Cloneable
An invalidation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The date and time the invalidation request was first made.getId()
The identifier for the invalidation request.The current invalidation information for the batch request.The status of the invalidation request.int
hashCode()
void
setCreateTime
(Date createTime) The date and time the invalidation request was first made.void
The identifier for the invalidation request.void
setInvalidationBatch
(InvalidationBatch invalidationBatch) The current invalidation information for the batch request.void
The status of the invalidation request.toString()
Returns a string representation of this object; useful for testing and debugging.withCreateTime
(Date createTime) The date and time the invalidation request was first made.The identifier for the invalidation request.withInvalidationBatch
(InvalidationBatch invalidationBatch) The current invalidation information for the batch request.withStatus
(String status) The status of the invalidation request.
-
Constructor Details
-
Invalidation
public Invalidation()
-
-
Method Details
-
setId
The identifier for the invalidation request. For example: IDFDVBD632BHDS5.- Parameters:
id
- The identifier for the invalidation request. For example: IDFDVBD632BHDS5.
-
getId
The identifier for the invalidation request. For example: IDFDVBD632BHDS5.- Returns:
- The identifier for the invalidation request. For example: IDFDVBD632BHDS5.
-
withId
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
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
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
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
The date and time the invalidation request was first made.- Parameters:
createTime
- The date and time the invalidation request was first made.
-
getCreateTime
The date and time the invalidation request was first made.- Returns:
- The date and time the invalidation request was first made.
-
withCreateTime
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
The current invalidation information for the batch request.- Parameters:
invalidationBatch
- The current invalidation information for the batch request.
-
getInvalidationBatch
The current invalidation information for the batch request.- Returns:
- The current invalidation information for the batch request.
-
withInvalidationBatch
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-