Class LifecycleStage.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public LifecycleStage.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the lifecycle stage.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public LifecycleStage.Builder displayName​(String displayName)
        The user-friendly name for the lifecycle stage.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • lifecycleEnvironmentId

        public LifecycleStage.Builder lifecycleEnvironmentId​(String lifecycleEnvironmentId)
        The OCID of the lifecycle environment that contains the lifecycle stage.
        Parameters:
        lifecycleEnvironmentId - the value to set
        Returns:
        this builder
      • rank

        public LifecycleStage.Builder rank​(Integer rank)
        User-specified rank for the lifecycle stage.

        Rank determines the hierarchy of the lifecycle stages within the lifecycle environment.

        Parameters:
        rank - the value to set
        Returns:
        this builder
      • osFamily

        public LifecycleStage.Builder osFamily​(OsFamily osFamily)
        The operating system of the managed instances in the lifecycle stage.
        Parameters:
        osFamily - the value to set
        Returns:
        this builder
      • archType

        public LifecycleStage.Builder archType​(ArchType archType)
        The CPU architecture of the managed instances in the lifecycle stage.
        Parameters:
        archType - the value to set
        Returns:
        this builder
      • vendorName

        public LifecycleStage.Builder vendorName​(VendorName vendorName)
        The vendor of the operating system used by the managed instances in the lifecycle stage.
        Parameters:
        vendorName - the value to set
        Returns:
        this builder
      • managedInstanceIds

        public LifecycleStage.Builder managedInstanceIds​(List<ManagedInstanceDetails> managedInstanceIds)
        The list of managed instances associated with the lifecycle stage.
        Parameters:
        managedInstanceIds - the value to set
        Returns:
        this builder
      • timeCreated

        public LifecycleStage.Builder timeCreated​(Date timeCreated)
        The time the lifecycle stage was created (in RFC 3339 format).
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeModified

        public LifecycleStage.Builder timeModified​(Date timeModified)
        The time the lifecycle stage was last modified (in RFC 3339 format).
        Parameters:
        timeModified - the value to set
        Returns:
        this builder
      • freeformTags

        public LifecycleStage.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

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

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

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

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

        public LifecycleStage.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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