Class SnapshotCreateCallInput
java.lang.Object
org.gridgain.internal.cli.call.snapshot.SnapshotCreateCallInput
- All Implemented Interfaces:
org.apache.ignite.internal.cli.core.call.CallInput
public class SnapshotCreateCallInput
extends Object
implements org.apache.ignite.internal.cli.core.call.CallInput
Input for
SnapshotCreateCall.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if snapshot should be created for all tables.builder()Builder forSnapshotCreateCallInput.Returns cluster URL.Returns name of the snapshot URI in configuration ornullfor default.Returns name of the encryption provider ornullfor default.org.apache.ignite.internal.rest.api.snapshot.SnapshotTypeReturns snapshot type.Returns list of table names to create snapshot of.Returns timestamp in Instant format to create snapshot at.
-
Method Details
-
builder
Builder forSnapshotCreateCallInput. -
clusterUrl
Returns cluster URL.- Returns:
- Cluster URL.
-
snapshotType
public org.apache.ignite.internal.rest.api.snapshot.SnapshotType snapshotType()Returns snapshot type. -
tableNames
Returns list of table names to create snapshot of. Incompatible with all option.- Returns:
- table names.
-
timestamp
Returns timestamp in Instant format to create snapshot at. If null, then current time will be used.- Returns:
- timestamp in Instant format.
-
allOption
public boolean allOption()Returns true if snapshot should be created for all tables. Incompatible with table names option.- Returns:
- all option present.
-
destination
Returns name of the snapshot URI in configuration ornullfor default.- Returns:
- destination name.
-
encryptionProvider
Returns name of the encryption provider ornullfor default.- Returns:
- Encryption provider.
-