@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableBackupGroupIndexingPolicy extends Object implements BackupGroupIndexingPolicy
BackupGroupIndexingPolicy
.
Use the builder to create immutable instances:
ImmutableBackupGroupIndexingPolicy.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableBackupGroupIndexingPolicy.Builder
Builds instances of type
ImmutableBackupGroupIndexingPolicy . |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<String> |
allowPrefixes()
Array of Indexed Directories.
|
static ImmutableBackupGroupIndexingPolicy.Builder |
builder()
Creates a builder for
ImmutableBackupGroupIndexingPolicy . |
static ImmutableBackupGroupIndexingPolicy |
copyOf(BackupGroupIndexingPolicy instance)
Creates an immutable copy of a
BackupGroupIndexingPolicy value. |
com.google.common.collect.ImmutableList<String> |
denyPrefixes()
Array of Excluded Directories.
|
boolean |
disableIndexing()
Specifies if the files found in an Object (such as a VM) should be indexed.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableBackupGroupIndexingPolicy that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
allowPrefixes , denyPrefixes , disableIndexing . |
String |
toString()
Prints the immutable value
BackupGroupIndexingPolicy with attribute values. |
ImmutableBackupGroupIndexingPolicy |
withAllowPrefixes(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
allowPrefixes . |
ImmutableBackupGroupIndexingPolicy |
withAllowPrefixes(String... elements)
Copy the current immutable object with elements that replace the content of
allowPrefixes . |
ImmutableBackupGroupIndexingPolicy |
withDenyPrefixes(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
denyPrefixes . |
ImmutableBackupGroupIndexingPolicy |
withDenyPrefixes(String... elements)
Copy the current immutable object with elements that replace the content of
denyPrefixes . |
ImmutableBackupGroupIndexingPolicy |
withDisableIndexing(boolean value)
Copy the current immutable object by setting a value for the
disableIndexing attribute. |
public com.google.common.collect.ImmutableList<String> allowPrefixes()
Specifies a list of directories to index.
allowPrefixes
in interface BackupGroupIndexingPolicy
public com.google.common.collect.ImmutableList<String> denyPrefixes()
Specifies a list of directories to exclude from indexing.
denyPrefixes
in interface BackupGroupIndexingPolicy
public boolean disableIndexing()
disableIndexing
in interface BackupGroupIndexingPolicy
public final ImmutableBackupGroupIndexingPolicy withAllowPrefixes(String... elements)
allowPrefixes
.elements
- The elements to setthis
objectpublic final ImmutableBackupGroupIndexingPolicy withAllowPrefixes(Iterable<String> elements)
allowPrefixes
.
A shallow reference equality check is used to prevent copying of the same value by returning this
.elements
- An iterable of allowPrefixes elements to setthis
objectpublic final ImmutableBackupGroupIndexingPolicy withDenyPrefixes(String... elements)
denyPrefixes
.elements
- The elements to setthis
objectpublic final ImmutableBackupGroupIndexingPolicy withDenyPrefixes(Iterable<String> elements)
denyPrefixes
.
A shallow reference equality check is used to prevent copying of the same value by returning this
.elements
- An iterable of denyPrefixes elements to setthis
objectpublic final ImmutableBackupGroupIndexingPolicy withDisableIndexing(boolean value)
disableIndexing
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for disableIndexingthis
objectpublic boolean equals(@Nullable Object another)
ImmutableBackupGroupIndexingPolicy
that have equal attribute values.public int hashCode()
allowPrefixes
, denyPrefixes
, disableIndexing
.public String toString()
BackupGroupIndexingPolicy
with attribute values.public static ImmutableBackupGroupIndexingPolicy copyOf(BackupGroupIndexingPolicy instance)
BackupGroupIndexingPolicy
value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance
- The instance to copypublic static ImmutableBackupGroupIndexingPolicy.Builder builder()
ImmutableBackupGroupIndexingPolicy
.
ImmutableBackupGroupIndexingPolicy.builder() .addAllowPrefixes|addAllAllowPrefixes(String) //allowPrefixes
elements .addDenyPrefixes|addAllDenyPrefixes(String) //denyPrefixes
elements .disableIndexing(boolean) // requireddisableIndexing
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.