Class SeedJob.Builder

  • All Implemented Interfaces:
    software.amazon.jsii.Builder<SeedJob>
    Enclosing interface:
    SeedJob

    @Stability(Stable)
    public static final class SeedJob.Builder
    extends Object
    implements software.amazon.jsii.Builder<SeedJob>
    A builder for SeedJob
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • description

        @Stability(Stable)
        public SeedJob.Builder description​(String description)
        Sets the value of SeedJob.getDescription()
        Parameters:
        description - The description of the seed job. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public SeedJob.Builder id​(String id)
        Sets the value of SeedJob.getId()
        Parameters:
        id - The unique name for the seed job. This parameter is required.
        Returns:
        this
      • repositoryBranch

        @Stability(Stable)
        public SeedJob.Builder repositoryBranch​(String repositoryBranch)
        Parameters:
        repositoryBranch - The repository branch where seed job definitions are present. This parameter is required.
        Returns:
        this
      • repositoryUrl

        @Stability(Stable)
        public SeedJob.Builder repositoryUrl​(String repositoryUrl)
        Sets the value of SeedJob.getRepositoryUrl()
        Parameters:
        repositoryUrl - The repository access URL. This parameter is required. Supports SSH and HTTPS.
        Returns:
        this
      • targets

        @Stability(Stable)
        public SeedJob.Builder targets​(String targets)
        Sets the value of SeedJob.getTargets()
        Parameters:
        targets - The repository path where seed job definitions are present. This parameter is required.
        Returns:
        this
      • build

        @Stability(Stable)
        public SeedJob build()
        Builds the configured instance.
        Specified by:
        build in interface software.amazon.jsii.Builder<SeedJob>
        Returns:
        a new instance of SeedJob
        Throws:
        NullPointerException - if any required attribute was not provided