Class SoftwareSource.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public SoftwareSource.Builder compartmentId​(String compartmentId)
        OCID for the Compartment
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public SoftwareSource.Builder displayName​(String displayName)
        User friendly name for the software source
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public SoftwareSource.Builder description​(String description)
        Information specified by the user about the software source
        Parameters:
        description - the value to set
        Returns:
        this builder
      • repoType

        public SoftwareSource.Builder repoType​(String repoType)
        Type of the Software Source
        Parameters:
        repoType - the value to set
        Returns:
        this builder
      • archType

        public SoftwareSource.Builder archType​(ArchTypes archType)
        The architecture type supported by the Software Source
        Parameters:
        archType - the value to set
        Returns:
        this builder
      • parentId

        public SoftwareSource.Builder parentId​(String parentId)
        OCID for the parent software source, if there is one
        Parameters:
        parentId - the value to set
        Returns:
        this builder
      • parentName

        public SoftwareSource.Builder parentName​(String parentName)
        Display name the parent software source, if there is one
        Parameters:
        parentName - the value to set
        Returns:
        this builder
      • checksumType

        public SoftwareSource.Builder checksumType​(ChecksumTypes checksumType)
        The yum repository checksum type used by this software source
        Parameters:
        checksumType - the value to set
        Returns:
        this builder
      • maintainerName

        public SoftwareSource.Builder maintainerName​(String maintainerName)
        Name of the person maintaining this software source
        Parameters:
        maintainerName - the value to set
        Returns:
        this builder
      • maintainerEmail

        public SoftwareSource.Builder maintainerEmail​(String maintainerEmail)
        Email address of the person maintaining this software source
        Parameters:
        maintainerEmail - the value to set
        Returns:
        this builder
      • maintainerPhone

        public SoftwareSource.Builder maintainerPhone​(String maintainerPhone)
        Phone number of the person maintaining this software source
        Parameters:
        maintainerPhone - the value to set
        Returns:
        this builder
      • gpgKeyUrl

        public SoftwareSource.Builder gpgKeyUrl​(String gpgKeyUrl)
        URL of the GPG key for this software source
        Parameters:
        gpgKeyUrl - the value to set
        Returns:
        this builder
      • gpgKeyId

        public SoftwareSource.Builder gpgKeyId​(String gpgKeyId)
        ID of the GPG key for this software source
        Parameters:
        gpgKeyId - the value to set
        Returns:
        this builder
      • gpgKeyFingerprint

        public SoftwareSource.Builder gpgKeyFingerprint​(String gpgKeyFingerprint)
        Fingerprint of the GPG key for this software source
        Parameters:
        gpgKeyFingerprint - the value to set
        Returns:
        this builder
      • lifecycleState

        public SoftwareSource.Builder lifecycleState​(LifecycleStates lifecycleState)
        The current state of the Software Source.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • packages

        public SoftwareSource.Builder packages​(Integer packages)
        Number of packages
        Parameters:
        packages - the value to set
        Returns:
        this builder
      • associatedManagedInstances

        public SoftwareSource.Builder associatedManagedInstances​(List<Id> associatedManagedInstances)
        list of the Managed Instances associated with this Software Sources
        Parameters:
        associatedManagedInstances - the value to set
        Returns:
        this builder
      • freeformTags

        public SoftwareSource.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type or scope.

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public SoftwareSource.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder