|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudfront.model.InvalidationBatch
public class InvalidationBatch
An invalidation batch.
Constructor Summary | |
---|---|
InvalidationBatch()
Default constructor for a new InvalidationBatch object. |
|
InvalidationBatch(Paths paths,
String callerReference)
Constructs a new InvalidationBatch object. |
|
InvalidationBatch(String callerReference)
Constructs a new InvalidationBatch object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCallerReference()
A unique name that ensures the request can't be replayed. |
Paths |
getPaths()
The path of the object to invalidate. |
int |
hashCode()
|
void |
setCallerReference(String callerReference)
A unique name that ensures the request can't be replayed. |
void |
setPaths(Paths paths)
The path of the object to invalidate. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InvalidationBatch |
withCallerReference(String callerReference)
A unique name that ensures the request can't be replayed. |
InvalidationBatch |
withPaths(Paths paths)
The path of the object to invalidate. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InvalidationBatch()
public InvalidationBatch(Paths paths, String callerReference)
paths
- The path of the object to invalidate. The path is
relative to the distribution and must begin with a slash (/). You must
enclose each invalidation object with the Path element tags. If the
path includes non-ASCII characters or unsafe characters as defined in
RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those
characters. Do not URL encode any other characters in the path, or
CloudFront will not invalidate the old version of the updated object.callerReference
- A unique name that ensures the request can't be
replayed. If the CallerReference is new (no matter the content of the
Path object), a new distribution is created. If the CallerReference is
a value you already sent in a previous request to create an
invalidation batch, and the content of each Path element is identical
to the original request, the response includes the same information
returned to the original request. If the CallerReference is a value
you already sent in a previous request to create a distribution but
the content of any Path is different from the original request,
CloudFront returns an InvalidationBatchAlreadyExists error.public InvalidationBatch(String callerReference)
callerReference
- A unique name that ensures the request can't be
replayed. If the CallerReference is new (no matter the content of the
Path object), a new distribution is created. If the CallerReference is
a value you already sent in a previous request to create an
invalidation batch, and the content of each Path element is identical
to the original request, the response includes the same information
returned to the original request. If the CallerReference is a value
you already sent in a previous request to create a distribution but
the content of any Path is different from the original request,
CloudFront returns an InvalidationBatchAlreadyExists error.Method Detail |
---|
public Paths getPaths()
public void setPaths(Paths paths)
paths
- The path of the object to invalidate. The path is relative to the
distribution and must begin with a slash (/). You must enclose each
invalidation object with the Path element tags. If the path includes
non-ASCII characters or unsafe characters as defined in RFC 1783
(http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do
not URL encode any other characters in the path, or CloudFront will
not invalidate the old version of the updated object.public InvalidationBatch withPaths(Paths paths)
Returns a reference to this object so that method calls can be chained together.
paths
- The path of the object to invalidate. The path is relative to the
distribution and must begin with a slash (/). You must enclose each
invalidation object with the Path element tags. If the path includes
non-ASCII characters or unsafe characters as defined in RFC 1783
(http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do
not URL encode any other characters in the path, or CloudFront will
not invalidate the old version of the updated object.
public String getCallerReference()
public void setCallerReference(String callerReference)
callerReference
- A unique name that ensures the request can't be replayed. If the
CallerReference is new (no matter the content of the Path object), a
new distribution is created. If the CallerReference is a value you
already sent in a previous request to create an invalidation batch,
and the content of each Path element is identical to the original
request, the response includes the same information returned to the
original request. If the CallerReference is a value you already sent
in a previous request to create a distribution but the content of any
Path is different from the original request, CloudFront returns an
InvalidationBatchAlreadyExists error.public InvalidationBatch withCallerReference(String callerReference)
Returns a reference to this object so that method calls can be chained together.
callerReference
- A unique name that ensures the request can't be replayed. If the
CallerReference is new (no matter the content of the Path object), a
new distribution is created. If the CallerReference is a value you
already sent in a previous request to create an invalidation batch,
and the content of each Path element is identical to the original
request, the response includes the same information returned to the
original request. If the CallerReference is a value you already sent
in a previous request to create a distribution but the content of any
Path is different from the original request, CloudFront returns an
InvalidationBatchAlreadyExists error.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |