public class Invalidation extends Object
An invalidation.
Constructor and Description |
---|
Invalidation()
Default constructor for a new Invalidation object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getCreateTime()
The date and time the invalidation request was first made.
|
String |
getId()
The identifier for the invalidation request.
|
InvalidationBatch |
getInvalidationBatch()
The current invalidation information for the batch request.
|
String |
getStatus()
The status of the invalidation request.
|
int |
hashCode() |
void |
setCreateTime(Date createTime)
The date and time the invalidation request was first made.
|
void |
setId(String id)
The identifier for the invalidation request.
|
void |
setInvalidationBatch(InvalidationBatch invalidationBatch)
The current invalidation information for the batch request.
|
void |
setStatus(String status)
The status of the invalidation request.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Invalidation |
withCreateTime(Date createTime)
The date and time the invalidation request was first made.
|
Invalidation |
withId(String id)
The identifier for the invalidation request.
|
Invalidation |
withInvalidationBatch(InvalidationBatch invalidationBatch)
The current invalidation information for the batch request.
|
Invalidation |
withStatus(String status)
The status of the invalidation request.
|
public Invalidation()
public String getId()
public void setId(String id)
id
- The identifier for the invalidation request. For example:
IDFDVBD632BHDS5.public Invalidation withId(String id)
Returns a reference to this object so that method calls can be chained together.
id
- The identifier for the invalidation request. For example:
IDFDVBD632BHDS5.public String getStatus()
public void setStatus(String status)
status
- The status of the invalidation request. When the invalidation batch is
finished, the status is Completed.public Invalidation withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status
- The status of the invalidation request. When the invalidation batch is
finished, the status is Completed.public Date getCreateTime()
public void setCreateTime(Date createTime)
createTime
- The date and time the invalidation request was first made.public Invalidation withCreateTime(Date createTime)
Returns a reference to this object so that method calls can be chained together.
createTime
- The date and time the invalidation request was first made.public InvalidationBatch getInvalidationBatch()
public void setInvalidationBatch(InvalidationBatch invalidationBatch)
invalidationBatch
- The current invalidation information for the batch request.public Invalidation withInvalidationBatch(InvalidationBatch invalidationBatch)
Returns a reference to this object so that method calls can be chained together.
invalidationBatch
- The current invalidation information for the batch request.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.