c3r-cli-spark/src/main/java/com/amazonaws/c3r/spark/cli/EncryptMode.java [51:121]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public class EncryptMode implements Callable<Integer> {

    /**
     * Required command line arguments.
     */
    @Getter
    static class RequiredArgs {
        /**
         * {@value CliDescriptions#INPUT_DESCRIPTION_CRYPTO}.
         */
        @CommandLine.Parameters(description = CliDescriptions.INPUT_DESCRIPTION_CRYPTO,
                paramLabel = "<input>")
        private String input = null;

        /**
         * {@value CliDescriptions#SCHEMA_DESCRIPTION}.
         */
        @CommandLine.Option(names = {"--schema", "-s"},
                description = CliDescriptions.SCHEMA_DESCRIPTION,
                required = true,
                paramLabel = "<file>")
        private String schema = null;

        /**
         * {@value CliDescriptions#ID_DESCRIPTION}.
         */
        @CommandLine.Option(names = {"--id"},
                description = CliDescriptions.ID_DESCRIPTION,
                paramLabel = "<value>",
                required = true)
        private UUID id = null;
    }

    /**
     * Required values as specified by the user.
     */
    @CommandLine.ArgGroup(multiplicity = "1", exclusive = false, heading = "%nRequired parameters:%n")
    private RequiredArgs requiredArgs = new RequiredArgs();

    /**
     * Optional command line arguments.
     */
    @Getter
    static class OptionalArgs {
        /**
         * {@value CliDescriptions#AWS_PROFILE_DESCRIPTION}.
         */
        @CommandLine.Option(names = {"--profile", "-l"},
                description = CliDescriptions.AWS_PROFILE_DESCRIPTION)
        private String profile = null;

        /**
         * {@value CliDescriptions#AWS_REGION_DESCRIPTION}.
         */
        @CommandLine.Option(names = {"--region", "-g"},
                description = CliDescriptions.AWS_REGION_DESCRIPTION)
        private String region = null;

        /**
         * {@value CliDescriptions#FILE_FORMAT_DESCRIPTION}.
         */
        @CommandLine.Option(names = {"--fileFormat", "-e"},
                description = CliDescriptions.FILE_FORMAT_DESCRIPTION,
                paramLabel = "<format>")
        private FileFormat fileFormat = null;

        /**
         * {@value CliDescriptions#OUTPUT_DESCRIPTION_CRYPTO}.
         */
        @CommandLine.Option(names = {"--output", "-o"},
                description = CliDescriptions.OUTPUT_DESCRIPTION_CRYPTO,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



c3r-cli/src/main/java/com/amazonaws/c3r/cli/EncryptMode.java [47:116]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public class EncryptMode implements Callable<Integer> {
    /**
     * Required command line arguments.
     */
    @Getter
    static class RequiredArgs {
        /**
         * {@value CliDescriptions#INPUT_DESCRIPTION_CRYPTO}.
         */
        @CommandLine.Parameters(description = CliDescriptions.INPUT_DESCRIPTION_CRYPTO,
                paramLabel = "<input>")
        private String input = null;

        /**
         * {@value CliDescriptions#SCHEMA_DESCRIPTION}.
         */
        @CommandLine.Option(names = {"--schema", "-s"},
                description = CliDescriptions.SCHEMA_DESCRIPTION,
                required = true,
                paramLabel = "<file>")
        private String schema = null;

        /**
         * {@value CliDescriptions#ID_DESCRIPTION}.
         */
        @CommandLine.Option(names = {"--id"},
                description = CliDescriptions.ID_DESCRIPTION,
                paramLabel = "<value>",
                required = true)
        private UUID id = null;
    }

    /**
     * Required values as specified by the user.
     */
    @CommandLine.ArgGroup(multiplicity = "1", exclusive = false, heading = "%nRequired parameters:%n")
    private RequiredArgs requiredArgs = new RequiredArgs();

    /**
     * Optional command line arguments.
     */
    @Getter
    static class OptionalArgs {
        /**
         * {@value CliDescriptions#AWS_PROFILE_DESCRIPTION}.
         */
        @CommandLine.Option(names = {"--profile", "-l"},
                description = CliDescriptions.AWS_PROFILE_DESCRIPTION)
        private String profile = null;

        /**
         * {@value CliDescriptions#AWS_REGION_DESCRIPTION}.
         */
        @CommandLine.Option(names = {"--region", "-g"},
                description = CliDescriptions.AWS_REGION_DESCRIPTION)
        private String region = null;

        /**
         * {@value CliDescriptions#FILE_FORMAT_DESCRIPTION}.
         */
        @CommandLine.Option(names = {"--fileFormat", "-e"},
                description = CliDescriptions.FILE_FORMAT_DESCRIPTION,
                paramLabel = "<format>")
        private FileFormat fileFormat = null;

        /**
         * {@value CliDescriptions#OUTPUT_DESCRIPTION_CRYPTO}.
         */
        @CommandLine.Option(names = {"--output", "-o"},
                description = CliDescriptions.OUTPUT_DESCRIPTION_CRYPTO,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



