Interface AuditTaskMetadata.Builder

    • Method Detail

      • taskId

        AuditTaskMetadata.Builder taskId​(String taskId)

        The ID of this audit.

        Parameters:
        taskId - The ID of this audit.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • taskStatus

        AuditTaskMetadata.Builder taskStatus​(String taskStatus)

        The status of this audit. One of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".

        Parameters:
        taskStatus - The status of this audit. One of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AuditTaskStatus, AuditTaskStatus
      • taskStatus

        AuditTaskMetadata.Builder taskStatus​(AuditTaskStatus taskStatus)

        The status of this audit. One of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".

        Parameters:
        taskStatus - The status of this audit. One of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AuditTaskStatus, AuditTaskStatus
      • taskType

        AuditTaskMetadata.Builder taskType​(String taskType)

        The type of this audit. One of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".

        Parameters:
        taskType - The type of this audit. One of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AuditTaskType, AuditTaskType
      • taskType

        AuditTaskMetadata.Builder taskType​(AuditTaskType taskType)

        The type of this audit. One of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".

        Parameters:
        taskType - The type of this audit. One of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AuditTaskType, AuditTaskType