DeletionRequest.Builder
public
static
final
class
DeletionRequest.Builder
extends Object
Builder for DeletionRequest
objects.
Summary
Inherited methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait(long timeoutMillis, int nanos)
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted, or until a
certain amount of real time has elapsed.
|
final
void
|
wait(long timeoutMillis)
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted, or until a
certain amount of real time has elapsed.
|
final
void
|
wait()
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted.
|
|
Public constructors
Builder
public Builder ()
Public methods
setDomainUris
public DeletionRequest.Builder setDomainUris (List<Uri> domainUris)
Set the list of domain URI which will be used for matching. These will be matched with
records using the same domain or any subdomains. E.g. If domainUri is https://example.com
, then https://a.example.com
, https://example.com
and
https://b.example.com
will match; https://abcexample.com
will NOT match.
Parameters |
domainUris |
List : This value may be null . |
setEnd
public DeletionRequest.Builder setEnd (Instant end)
Set the end of the deletion range. Passing in Instant.MAX
will cause
everything from the specified start until the newest record to be deleted. No set end
will default to Instant.MAX
.
Parameters |
end |
Instant : This value cannot be null . |
setOriginUris
public DeletionRequest.Builder setOriginUris (List<Uri> originUris)
Set the list of origin URI which will be used for matching. These will be matched with
records using the same origin only, i.e. subdomains won't match. E.g. If originUri is
https://a.example.com
, then https://a.example.com
will match; https://example.com
, https://b.example.com
and https://abcexample.com
will NOT match.
Parameters |
originUris |
List : This value may be null . |
setStart
public DeletionRequest.Builder setStart (Instant start)
Set the start of the deletion range. Passing in Instant.MIN
will cause
everything from the oldest record to the specified end be deleted. No set start will
default to Instant.MIN
.
Parameters |
start |
Instant : This value cannot be null . |