Class ClassificationJobState.Builder

  • Enclosing class:
    ClassificationJobState

    public static final class ClassificationJobState.Builder
    extends java.lang.Object
    • Method Detail

      • createdAt

        public ClassificationJobState.Builder createdAt​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> createdAt)
        Parameters:
        createdAt - Date and time, in UTC and extended RFC 3339 format, when the job was created.
        Returns:
        builder
      • createdAt

        public ClassificationJobState.Builder createdAt​(java.lang.String createdAt)
        Parameters:
        createdAt - Date and time, in UTC and extended RFC 3339 format, when the job was created.
        Returns:
        builder
      • customDataIdentifierIds

        public ClassificationJobState.Builder customDataIdentifierIds​(@Nullable
                                                                      com.pulumi.core.Output<java.util.List<java.lang.String>> customDataIdentifierIds)
        Parameters:
        customDataIdentifierIds - Custom data identifiers to use for data analysis and classification.
        Returns:
        builder
      • customDataIdentifierIds

        public ClassificationJobState.Builder customDataIdentifierIds​(java.util.List<java.lang.String> customDataIdentifierIds)
        Parameters:
        customDataIdentifierIds - Custom data identifiers to use for data analysis and classification.
        Returns:
        builder
      • customDataIdentifierIds

        public ClassificationJobState.Builder customDataIdentifierIds​(java.lang.String... customDataIdentifierIds)
        Parameters:
        customDataIdentifierIds - Custom data identifiers to use for data analysis and classification.
        Returns:
        builder
      • description

        public ClassificationJobState.Builder description​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Custom description of the job. Can contain as many as 200 characters.
        Returns:
        builder
      • description

        public ClassificationJobState.Builder description​(java.lang.String description)
        Parameters:
        description - Custom description of the job. Can contain as many as 200 characters.
        Returns:
        builder
      • initialRun

        public ClassificationJobState.Builder initialRun​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> initialRun)
        Parameters:
        initialRun - Whether to analyze all existing, eligible objects immediately after the job is created.
        Returns:
        builder
      • initialRun

        public ClassificationJobState.Builder initialRun​(java.lang.Boolean initialRun)
        Parameters:
        initialRun - Whether to analyze all existing, eligible objects immediately after the job is created.
        Returns:
        builder
      • jobArn

        public ClassificationJobState.Builder jobArn​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> jobArn)
        Parameters:
        jobArn - ARN of the classification job.
        Returns:
        builder
      • jobArn

        public ClassificationJobState.Builder jobArn​(java.lang.String jobArn)
        Parameters:
        jobArn - ARN of the classification job.
        Returns:
        builder
      • jobId

        public ClassificationJobState.Builder jobId​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> jobId)
        Parameters:
        jobId - Unique identifier (ID) of the classification job.
        Returns:
        builder
      • jobId

        public ClassificationJobState.Builder jobId​(java.lang.String jobId)
        Parameters:
        jobId - Unique identifier (ID) of the classification job.
        Returns:
        builder
      • jobStatus

        public ClassificationJobState.Builder jobStatus​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> jobStatus)
        Parameters:
        jobStatus - Status for the job. Valid values are `CANCELLED`, `RUNNING` and `USER_PAUSED`.
        Returns:
        builder
      • jobStatus

        public ClassificationJobState.Builder jobStatus​(java.lang.String jobStatus)
        Parameters:
        jobStatus - Status for the job. Valid values are `CANCELLED`, `RUNNING` and `USER_PAUSED`.
        Returns:
        builder
      • jobType

        public ClassificationJobState.Builder jobType​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> jobType)
        Parameters:
        jobType - Schedule for running the job. Valid values are `ONE_TIME`, to run the job only once, and `SCHEDULED`, to run the job on a daily, weekly, or monthly basis. When set to `SCHEDULED`, use `scheduleFrequency` to define the recurrence pattern for the job.
        Returns:
        builder
      • jobType

        public ClassificationJobState.Builder jobType​(java.lang.String jobType)
        Parameters:
        jobType - Schedule for running the job. Valid values are `ONE_TIME`, to run the job only once, and `SCHEDULED`, to run the job on a daily, weekly, or monthly basis. When set to `SCHEDULED`, use `scheduleFrequency` to define the recurrence pattern for the job.
        Returns:
        builder
      • name

        public ClassificationJobState.Builder name​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Custom name for the job. Can contain as many as 500 characters. If omitted, Terraform assigns a random, unique name. Conflicts with `namePrefix`.
        Returns:
        builder
      • name

        public ClassificationJobState.Builder name​(java.lang.String name)
        Parameters:
        name - Custom name for the job. Can contain as many as 500 characters. If omitted, Terraform assigns a random, unique name. Conflicts with `namePrefix`.
        Returns:
        builder
      • namePrefix

        public ClassificationJobState.Builder namePrefix​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • namePrefix

        public ClassificationJobState.Builder namePrefix​(java.lang.String namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • region

        public ClassificationJobState.Builder region​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public ClassificationJobState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • s3JobDefinition

        public ClassificationJobState.Builder s3JobDefinition​(@Nullable
                                                              com.pulumi.core.Output<ClassificationJobS3JobDefinitionArgs> s3JobDefinition)
        Parameters:
        s3JobDefinition - S3 buckets that contain the objects to analyze, and the scope of that analysis. See `s3JobDefinition` Block for details.
        Returns:
        builder
      • samplingPercentage

        public ClassificationJobState.Builder samplingPercentage​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.Integer> samplingPercentage)
        Parameters:
        samplingPercentage - Sampling depth, as a percentage, to apply when processing objects. This value determines the percentage of eligible objects that the job analyzes. If this value is less than 100, Amazon Macie selects the objects to analyze at random, up to the specified percentage, and analyzes all the data in those objects.
        Returns:
        builder
      • samplingPercentage

        public ClassificationJobState.Builder samplingPercentage​(java.lang.Integer samplingPercentage)
        Parameters:
        samplingPercentage - Sampling depth, as a percentage, to apply when processing objects. This value determines the percentage of eligible objects that the job analyzes. If this value is less than 100, Amazon Macie selects the objects to analyze at random, up to the specified percentage, and analyzes all the data in those objects.
        Returns:
        builder
      • scheduleFrequency

        public ClassificationJobState.Builder scheduleFrequency​(@Nullable
                                                                com.pulumi.core.Output<ClassificationJobScheduleFrequencyArgs> scheduleFrequency)
        Parameters:
        scheduleFrequency - Recurrence pattern for running the job. To run the job only once, omit this argument and set `jobType` to `ONE_TIME`. See `scheduleFrequency` Block for details.
        Returns:
        builder
      • scheduleFrequency

        public ClassificationJobState.Builder scheduleFrequency​(ClassificationJobScheduleFrequencyArgs scheduleFrequency)
        Parameters:
        scheduleFrequency - Recurrence pattern for running the job. To run the job only once, omit this argument and set `jobType` to `ONE_TIME`. See `scheduleFrequency` Block for details.
        Returns:
        builder
      • tags

        public ClassificationJobState.Builder tags​(@Nullable
                                                   com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public ClassificationJobState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public ClassificationJobState.Builder tagsAll​(@Nullable
                                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public ClassificationJobState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • userPausedDetails

        public ClassificationJobState.Builder userPausedDetails​(@Nullable
                                                                com.pulumi.core.Output<java.util.List<ClassificationJobUserPausedDetailArgs>> userPausedDetails)
        Parameters:
        userPausedDetails - If the current status of the job is `USER_PAUSED`, information about when the job was paused and when the job or job run will expire and be cancelled if it isn't resumed. This value is present only if `jobStatus` is `USER_PAUSED`. See `userPausedDetails` Block for details.
        Returns:
        builder
      • userPausedDetails

        public ClassificationJobState.Builder userPausedDetails​(java.util.List<ClassificationJobUserPausedDetailArgs> userPausedDetails)
        Parameters:
        userPausedDetails - If the current status of the job is `USER_PAUSED`, information about when the job was paused and when the job or job run will expire and be cancelled if it isn't resumed. This value is present only if `jobStatus` is `USER_PAUSED`. See `userPausedDetails` Block for details.
        Returns:
        builder
      • userPausedDetails

        public ClassificationJobState.Builder userPausedDetails​(ClassificationJobUserPausedDetailArgs... userPausedDetails)
        Parameters:
        userPausedDetails - If the current status of the job is `USER_PAUSED`, information about when the job was paused and when the job or job run will expire and be cancelled if it isn't resumed. This value is present only if `jobStatus` is `USER_PAUSED`. See `userPausedDetails` Block for details.
        Returns:
        builder