Class CreateFleetDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public CreateFleetDetails.Builder displayName​(String displayName)
        A user-friendly name.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

        Example: My new resource

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public CreateFleetDetails.Builder description​(String description)
        A user-friendly description.

        To provide some insight about the resource. Avoid entering confidential information.

        Parameters:
        description - the value to set
        Returns:
        this builder
      • compartmentId

        public CreateFleetDetails.Builder compartmentId​(String compartmentId)
        compartment OCID
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • products

        public CreateFleetDetails.Builder products​(List<String> products)
        Products associated with the Fleet.
        Parameters:
        products - the value to set
        Returns:
        this builder
      • environmentType

        public CreateFleetDetails.Builder environmentType​(String environmentType)
        Environment Type associated with the Fleet.

        Applicable for ENVIRONMENT fleet types.

        Parameters:
        environmentType - the value to set
        Returns:
        this builder
      • notificationPreferences

        public CreateFleetDetails.Builder notificationPreferences​(List<NotificationPreference> notificationPreferences)
        Notification Preferences associated with the Fleet.
        Parameters:
        notificationPreferences - the value to set
        Returns:
        this builder
      • parentFleetId

        public CreateFleetDetails.Builder parentFleetId​(String parentFleetId)
        The OCID of the fleet that would be the parent for this fleet.
        Parameters:
        parentFleetId - the value to set
        Returns:
        this builder
      • isTargetAutoConfirm

        public CreateFleetDetails.Builder isTargetAutoConfirm​(Boolean isTargetAutoConfirm)
        A value that represents if auto-confirming of the targets can be enabled.

        This will allow targets to be auto-confirmed in the fleet without manual intervention.

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

        public CreateFleetDetails.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 CreateFleetDetails.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