Class ListManagedInstancesRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public ListManagedInstancesRequest.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the resources to list.

        This filter returns only resources contained within the specified compartment.

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

        public ListManagedInstancesRequest.Builder displayName​(List<String> displayName)
        A filter to return resources that match the given display names.
        Parameters:
        displayName - the value to set
        Returns:
        this builder instance
      • displayName

        public ListManagedInstancesRequest.Builder displayName​(String singularValue)
        Singular setter.

        A filter to return resources that match the given display names.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • displayNameContains

        public ListManagedInstancesRequest.Builder displayNameContains​(String displayNameContains)
        A filter to return resources that may partially match the given display name.
        Parameters:
        displayNameContains - the value to set
        Returns:
        this builder instance
      • managedInstanceId

        public ListManagedInstancesRequest.Builder managedInstanceId​(String managedInstanceId)
        The OCID of the managed instance.

        This filter returns resources associated with this managed instance.

        Parameters:
        managedInstanceId - the value to set
        Returns:
        this builder instance
      • status

        public ListManagedInstancesRequest.Builder status​(ManagedInstanceStatus singularValue)
        Singular setter.

        A filter to return only managed instances whose status matches the status provided.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • archType

        public ListManagedInstancesRequest.Builder archType​(List<ArchType> archType)
        A filter to return only instances whose architecture type matches the given architecture.
        Parameters:
        archType - the value to set
        Returns:
        this builder instance
      • archType

        public ListManagedInstancesRequest.Builder archType​(ArchType singularValue)
        Singular setter.

        A filter to return only instances whose architecture type matches the given architecture.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • osFamily

        public ListManagedInstancesRequest.Builder osFamily​(List<OsFamily> osFamily)
        A filter to return only resources that match the given operating system family.
        Parameters:
        osFamily - the value to set
        Returns:
        this builder instance
      • osFamily

        public ListManagedInstancesRequest.Builder osFamily​(OsFamily singularValue)
        Singular setter.

        A filter to return only resources that match the given operating system family.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • isManagementStation

        public ListManagedInstancesRequest.Builder isManagementStation​(Boolean isManagementStation)
        A filter to return only managed instances that are acting as management stations.
        Parameters:
        isManagementStation - the value to set
        Returns:
        this builder instance
      • group

        public ListManagedInstancesRequest.Builder group​(String group)
        A filter to return only managed instances that are attached to the specified group.
        Parameters:
        group - the value to set
        Returns:
        this builder instance
      • groupNotEqualTo

        public ListManagedInstancesRequest.Builder groupNotEqualTo​(String groupNotEqualTo)
        A filter to return only managed instances that are NOT attached to the specified group.
        Parameters:
        groupNotEqualTo - the value to set
        Returns:
        this builder instance
      • lifecycleStage

        public ListManagedInstancesRequest.Builder lifecycleStage​(String lifecycleStage)
        A filter to return only managed instances that are associated with the specified lifecycle environment.
        Parameters:
        lifecycleStage - the value to set
        Returns:
        this builder instance
      • lifecycleStageNotEqualTo

        public ListManagedInstancesRequest.Builder lifecycleStageNotEqualTo​(String lifecycleStageNotEqualTo)
        A filter to return only managed instances that are NOT associated with the specified lifecycle environment.
        Parameters:
        lifecycleStageNotEqualTo - the value to set
        Returns:
        this builder instance
      • isAttachedToGroupOrLifecycleStage

        public ListManagedInstancesRequest.Builder isAttachedToGroupOrLifecycleStage​(Boolean isAttachedToGroupOrLifecycleStage)
        A filter to return only managed instances that are attached to the specified group or lifecycle environment.
        Parameters:
        isAttachedToGroupOrLifecycleStage - the value to set
        Returns:
        this builder instance
      • softwareSourceId

        public ListManagedInstancesRequest.Builder softwareSourceId​(String softwareSourceId)
        The OCID of the software source.

        This filter returns resources associated with this software source.

        Parameters:
        softwareSourceId - the value to set
        Returns:
        this builder instance
      • advisoryName

        public ListManagedInstancesRequest.Builder advisoryName​(List<String> advisoryName)
        The assigned erratum name.

        It’s unique and not changeable.

        Example: ELSA-2020-5804

        Parameters:
        advisoryName - the value to set
        Returns:
        this builder instance
      • advisoryName

        public ListManagedInstancesRequest.Builder advisoryName​(String singularValue)
        Singular setter.

        The assigned erratum name. It’s unique and not changeable.

        Example: ELSA-2020-5804

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • lifecycleEnvironment

        public ListManagedInstancesRequest.Builder lifecycleEnvironment​(String lifecycleEnvironment)
        A filter to return only managed instances in a specific lifecycle environment.
        Parameters:
        lifecycleEnvironment - the value to set
        Returns:
        this builder instance
      • lifecycleEnvironmentNotEqualTo

        public ListManagedInstancesRequest.Builder lifecycleEnvironmentNotEqualTo​(String lifecycleEnvironmentNotEqualTo)
        A filter to return only managed instances that aren’t in a specific lifecycle environment.
        Parameters:
        lifecycleEnvironmentNotEqualTo - the value to set
        Returns:
        this builder instance
      • locationNotEqualTo

        public ListManagedInstancesRequest.Builder locationNotEqualTo​(ManagedInstanceLocation singularValue)
        Singular setter.

        A filter to return only resources whose location does not match the given value.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • profile

        public ListManagedInstancesRequest.Builder profile​(List<String> profile)
        A multi filter to return only managed instances that match the given profile ids.
        Parameters:
        profile - the value to set
        Returns:
        this builder instance
      • profile

        public ListManagedInstancesRequest.Builder profile​(String singularValue)
        Singular setter.

        A multi filter to return only managed instances that match the given profile ids.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • profileNotEqualTo

        public ListManagedInstancesRequest.Builder profileNotEqualTo​(List<String> profileNotEqualTo)
        A multi filter to return only managed instances that don’t contain the given profile OCIDs.
        Parameters:
        profileNotEqualTo - the value to set
        Returns:
        this builder instance
      • profileNotEqualTo

        public ListManagedInstancesRequest.Builder profileNotEqualTo​(String singularValue)
        Singular setter.

        A multi filter to return only managed instances that don’t contain the given profile OCIDs.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • isProfileAttached

        public ListManagedInstancesRequest.Builder isProfileAttached​(Boolean isProfileAttached)
        A filter to return only managed instances with a registration profile attached.
        Parameters:
        isProfileAttached - the value to set
        Returns:
        this builder instance
      • isManagedByAutonomousLinux

        public ListManagedInstancesRequest.Builder isManagedByAutonomousLinux​(Boolean isManagedByAutonomousLinux)
        Indicates whether to list only resources managed by the Autonomous Linux service.
        Parameters:
        isManagedByAutonomousLinux - the value to set
        Returns:
        this builder instance
      • agentVersion

        public ListManagedInstancesRequest.Builder agentVersion​(String agentVersion)
        A filter to return only managed instances with the specified version of osmh-agent running.
        Parameters:
        agentVersion - the value to set
        Returns:
        this builder instance
      • managementStation

        public ListManagedInstancesRequest.Builder managementStation​(List<String> managementStation)
        A filter to return resources that are associated with the specified management station OCIDs.
        Parameters:
        managementStation - the value to set
        Returns:
        this builder instance
      • managementStation

        public ListManagedInstancesRequest.Builder managementStation​(String singularValue)
        Singular setter.

        A filter to return resources that are associated with the specified management station OCIDs.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • managementStationNotEqualTo

        public ListManagedInstancesRequest.Builder managementStationNotEqualTo​(List<String> managementStationNotEqualTo)
        A filter to return resources that aren’t associated with the specified management station OCIDs.
        Parameters:
        managementStationNotEqualTo - the value to set
        Returns:
        this builder instance
      • managementStationNotEqualTo

        public ListManagedInstancesRequest.Builder managementStationNotEqualTo​(String singularValue)
        Singular setter.

        A filter to return resources that aren’t associated with the specified management station OCIDs.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • isRebootRequired

        public ListManagedInstancesRequest.Builder isRebootRequired​(Boolean isRebootRequired)
        A filter to return only managed instances that require a reboot to install updates.
        Parameters:
        isRebootRequired - the value to set
        Returns:
        this builder instance
      • limit

        public ListManagedInstancesRequest.Builder limit​(Integer limit)
        For list pagination.

        The maximum number of results per page, or items to return in a paginated “List” call. For important details about how pagination works, see List Pagination.

        Example: 50

        Parameters:
        limit - the value to set
        Returns:
        this builder instance
      • page

        public ListManagedInstancesRequest.Builder page​(String page)
        For list pagination.

        The value of the opc-next-page response header from the previous “List” call. For important details about how pagination works, see List Pagination.

        Example: 3

        Parameters:
        page - the value to set
        Returns:
        this builder instance
      • opcRequestId

        public ListManagedInstancesRequest.Builder opcRequestId​(String opcRequestId)
        Unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the request ID.

        Parameters:
        opcRequestId - the value to set
        Returns:
        this builder instance
      • invocationCallback

        public ListManagedInstancesRequest.Builder invocationCallback​(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
        Set the invocation callback for the request to be built.
        Parameters:
        invocationCallback - the invocation callback to be set for the request
        Returns:
        this builder instance
      • retryConfiguration

        public ListManagedInstancesRequest.Builder retryConfiguration​(RetryConfiguration retryConfiguration)
        Set the retry configuration for the request to be built.
        Parameters:
        retryConfiguration - the retry configuration to be used for the request
        Returns:
        this builder instance