Interface JobTemplate.Builder

    • Method Detail

      • name

        JobTemplate.Builder name​(String name)

        The name of the job template.

        Parameters:
        name - The name of the job template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        JobTemplate.Builder id​(String id)

        The ID of the job template.

        Parameters:
        id - The ID of the job template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        JobTemplate.Builder arn​(String arn)

        The ARN of the job template.

        Parameters:
        arn - The ARN of the job template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        JobTemplate.Builder createdAt​(Instant createdAt)

        The date and time when the job template was created.

        Parameters:
        createdAt - The date and time when the job template was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdBy

        JobTemplate.Builder createdBy​(String createdBy)

        The user who created the job template.

        Parameters:
        createdBy - The user who created the job template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        JobTemplate.Builder tags​(Map<String,​String> tags)

        The tags assigned to the job template.

        Parameters:
        tags - The tags assigned to the job template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobTemplateData

        JobTemplate.Builder jobTemplateData​(JobTemplateData jobTemplateData)

        The job template data which holds values of StartJobRun API request.

        Parameters:
        jobTemplateData - The job template data which holds values of StartJobRun API request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyArn

        JobTemplate.Builder kmsKeyArn​(String kmsKeyArn)

        The KMS key ARN used to encrypt the job template.

        Parameters:
        kmsKeyArn - The KMS key ARN used to encrypt the job template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • decryptionError

        JobTemplate.Builder decryptionError​(String decryptionError)

        The error message in case the decryption of job template fails.

        Parameters:
        decryptionError - The error message in case the decryption of job template fails.
        Returns:
        Returns a reference to this object so that method calls can be chained together.