Class ImmutableO365SearchQueryRequest
java.lang.Object
com.iland.core.web.rest.request.vbo.ImmutableO365SearchQueryRequest
- All Implemented Interfaces:
O365SearchQueryRequest
@Generated(from="O365SearchQueryRequest",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableO365SearchQueryRequest
extends Object
implements O365SearchQueryRequest
Immutable implementation of
O365SearchQueryRequest.
Use the builder to create immutable instances:
ImmutableO365SearchQueryRequest.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableO365SearchQueryRequest. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableO365SearchQueryRequest.copyOf(O365SearchQueryRequest instance) Creates an immutable copy of aO365SearchQueryRequestvalue.booleanThis instance is equal to all instances ofImmutableO365SearchQueryRequestthat have equal attribute values.inthashCode()Computes a hash code from attributes:query.query()Free-form search text.toString()Prints the immutable valueO365SearchQueryRequestwith attribute values.Copy the current immutable object by setting a value for thequeryattribute.
-
Method Details
-
query
Free-form search text. Matched against subject, sender (from) and receiver (to). Raw Veeam field selectors are not supported.- Specified by:
queryin interfaceO365SearchQueryRequest
-
withQuery
Copy the current immutable object by setting a value for thequeryattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for query- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableO365SearchQueryRequestthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:query. -
toString
Prints the immutable valueO365SearchQueryRequestwith attribute values. -
copyOf
Creates an immutable copy of aO365SearchQueryRequestvalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable O365SearchQueryRequest instance
-
builder
Creates a builder forImmutableO365SearchQueryRequest.ImmutableO365SearchQueryRequest.builder() .query(String) // requiredquery.build();- Returns:
- A new ImmutableO365SearchQueryRequest builder
-