Class BatchJobIdentifier

    • Method Detail

      • fileBatchJobIdentifier

        public final FileBatchJobIdentifier fileBatchJobIdentifier()

        Specifies a file associated with a specific batch job.

        Returns:
        Specifies a file associated with a specific batch job.
      • restartBatchJobIdentifier

        public final RestartBatchJobIdentifier restartBatchJobIdentifier()

        Specifies the required information for restart, including execution ID and jobsteprestartmarker.

        Returns:
        Specifies the required information for restart, including execution ID and jobsteprestartmarker.
      • s3BatchJobIdentifier

        public final S3BatchJobIdentifier s3BatchJobIdentifier()

        Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.

        Returns:
        Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.
      • scriptBatchJobIdentifier

        public final ScriptBatchJobIdentifier scriptBatchJobIdentifier()

        A batch job identifier in which the batch job to run is identified by the script name.

        Returns:
        A batch job identifier in which the batch job to run is identified by the script name.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromFileBatchJobIdentifier

        public static BatchJobIdentifier fromFileBatchJobIdentifier​(FileBatchJobIdentifier fileBatchJobIdentifier)
        Create an instance of this class with fileBatchJobIdentifier() initialized to the given value.

        Specifies a file associated with a specific batch job.

        Parameters:
        fileBatchJobIdentifier - Specifies a file associated with a specific batch job.
      • fromFileBatchJobIdentifier

        public static BatchJobIdentifier fromFileBatchJobIdentifier​(Consumer<FileBatchJobIdentifier.Builder> fileBatchJobIdentifier)
        Create an instance of this class with fileBatchJobIdentifier() initialized to the given value.

        Specifies a file associated with a specific batch job.

        Parameters:
        fileBatchJobIdentifier - Specifies a file associated with a specific batch job.
      • fromRestartBatchJobIdentifier

        public static BatchJobIdentifier fromRestartBatchJobIdentifier​(RestartBatchJobIdentifier restartBatchJobIdentifier)
        Create an instance of this class with restartBatchJobIdentifier() initialized to the given value.

        Specifies the required information for restart, including execution ID and jobsteprestartmarker.

        Parameters:
        restartBatchJobIdentifier - Specifies the required information for restart, including execution ID and jobsteprestartmarker.
      • fromRestartBatchJobIdentifier

        public static BatchJobIdentifier fromRestartBatchJobIdentifier​(Consumer<RestartBatchJobIdentifier.Builder> restartBatchJobIdentifier)
        Create an instance of this class with restartBatchJobIdentifier() initialized to the given value.

        Specifies the required information for restart, including execution ID and jobsteprestartmarker.

        Parameters:
        restartBatchJobIdentifier - Specifies the required information for restart, including execution ID and jobsteprestartmarker.
      • fromS3BatchJobIdentifier

        public static BatchJobIdentifier fromS3BatchJobIdentifier​(S3BatchJobIdentifier s3BatchJobIdentifier)
        Create an instance of this class with s3BatchJobIdentifier() initialized to the given value.

        Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.

        Parameters:
        s3BatchJobIdentifier - Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.
      • fromS3BatchJobIdentifier

        public static BatchJobIdentifier fromS3BatchJobIdentifier​(Consumer<S3BatchJobIdentifier.Builder> s3BatchJobIdentifier)
        Create an instance of this class with s3BatchJobIdentifier() initialized to the given value.

        Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.

        Parameters:
        s3BatchJobIdentifier - Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.
      • fromScriptBatchJobIdentifier

        public static BatchJobIdentifier fromScriptBatchJobIdentifier​(ScriptBatchJobIdentifier scriptBatchJobIdentifier)
        Create an instance of this class with scriptBatchJobIdentifier() initialized to the given value.

        A batch job identifier in which the batch job to run is identified by the script name.

        Parameters:
        scriptBatchJobIdentifier - A batch job identifier in which the batch job to run is identified by the script name.
      • fromScriptBatchJobIdentifier

        public static BatchJobIdentifier fromScriptBatchJobIdentifier​(Consumer<ScriptBatchJobIdentifier.Builder> scriptBatchJobIdentifier)
        Create an instance of this class with scriptBatchJobIdentifier() initialized to the given value.

        A batch job identifier in which the batch job to run is identified by the script name.

        Parameters:
        scriptBatchJobIdentifier - A batch job identifier in which the batch job to run is identified by the script name.