Class ManagementAgentInstallKey.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • createdByPrincipalId

        public ManagementAgentInstallKey.Builder createdByPrincipalId​(String createdByPrincipalId)
        Principal id of user who created the Agent Install key
        Parameters:
        createdByPrincipalId - the value to set
        Returns:
        this builder
      • allowedKeyInstallCount

        public ManagementAgentInstallKey.Builder allowedKeyInstallCount​(Integer allowedKeyInstallCount)
        Total number of install for this keys
        Parameters:
        allowedKeyInstallCount - the value to set
        Returns:
        this builder
      • currentKeyInstallCount

        public ManagementAgentInstallKey.Builder currentKeyInstallCount​(Integer currentKeyInstallCount)
        Total number of install for this keys
        Parameters:
        currentKeyInstallCount - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public ManagementAgentInstallKey.Builder lifecycleDetails​(String lifecycleDetails)
        A message describing the current state in more detail.

        For example, can be used to provide actionable information for a resource in Failed state.

        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • timeExpires

        public ManagementAgentInstallKey.Builder timeExpires​(Date timeExpires)
        date after which key would expire after creation
        Parameters:
        timeExpires - the value to set
        Returns:
        this builder
      • timeCreated

        public ManagementAgentInstallKey.Builder timeCreated​(Date timeCreated)
        The time when Management Agent install Key was created.

        An RFC3339 formatted date time string

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public ManagementAgentInstallKey.Builder timeUpdated​(Date timeUpdated)
        The time when Management Agent install Key was updated.

        An RFC3339 formatted date time string

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • isUnlimited

        public ManagementAgentInstallKey.Builder isUnlimited​(Boolean isUnlimited)
        If set to true, the install key has no expiration date or usage limit.

        Defaults to false

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

        public ManagementAgentInstallKey.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 ManagementAgentInstallKey.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
      • systemTags

        public ManagementAgentInstallKey.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        Usage of system tag keys.

        These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }

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