Class ListManagementAgentsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public ListManagementAgentsRequest.Builder compartmentId​(String compartmentId)
        The OCID of the compartment to which a request will be scoped.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder instance
      • pluginName

        public ListManagementAgentsRequest.Builder pluginName​(List<String> pluginName)
        Filter to return only Management Agents having the particular Plugin installed.

        A special pluginName of ‘None’ can be provided and this will return only Management Agents having no plugin installed.

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

        public ListManagementAgentsRequest.Builder pluginName​(String singularValue)
        Singular setter.

        Filter to return only Management Agents having the particular Plugin installed. A special pluginName of ‘None’ can be provided and this will return only Management Agents having no plugin installed.

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

        public ListManagementAgentsRequest.Builder version​(List<String> version)
        Filter to return only Management Agents having the particular agent version.
        Parameters:
        version - the value to set
        Returns:
        this builder instance
      • version

        public ListManagementAgentsRequest.Builder version​(String singularValue)
        Singular setter.

        Filter to return only Management Agents having the particular agent version.

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

        public ListManagementAgentsRequest.Builder displayName​(String displayName)
        Filter to return only Management Agents having the particular display name.
        Parameters:
        displayName - the value to set
        Returns:
        this builder instance
      • lifecycleState

        public ListManagementAgentsRequest.Builder lifecycleState​(LifecycleStates lifecycleState)
        Filter to return only Management Agents in the particular lifecycle state.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder instance
      • availabilityStatus

        public ListManagementAgentsRequest.Builder availabilityStatus​(AvailabilityStatus availabilityStatus)
        Filter to return only Management Agents in the particular availability status.
        Parameters:
        availabilityStatus - the value to set
        Returns:
        this builder instance
      • hostId

        public ListManagementAgentsRequest.Builder hostId​(String hostId)
        Filter to return only Management Agents having the particular agent host id.
        Parameters:
        hostId - the value to set
        Returns:
        this builder instance
      • platformType

        public ListManagementAgentsRequest.Builder platformType​(PlatformTypes singularValue)
        Singular setter.

        Filter to return only results having the particular platform type.

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

        public ListManagementAgentsRequest.Builder isCustomerDeployed​(Boolean isCustomerDeployed)
        true, if the agent image is manually downloaded and installed.

        false, if the agent is deployed as a plugin in Oracle Cloud Agent.

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

        public ListManagementAgentsRequest.Builder installType​(InstallTypes installType)
        A filter to return either agents or gateway types depending upon install type selected by user.

        By default both install type will be returned.

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

        public ListManagementAgentsRequest.Builder gatewayId​(List<String> gatewayId)
        Filter to return only results having the particular gatewayId.
        Parameters:
        gatewayId - the value to set
        Returns:
        this builder instance
      • gatewayId

        public ListManagementAgentsRequest.Builder gatewayId​(String singularValue)
        Singular setter.

        Filter to return only results having the particular gatewayId.

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

        public ListManagementAgentsRequest.Builder page​(String page)
        The page token representing the page at which to start retrieving results.

        This is usually retrieved from a previous list call.

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

        public ListManagementAgentsRequest.Builder sortBy​(ListManagementAgentsRequest.SortBy sortBy)
        The field to sort by.

        Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.

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

        public ListManagementAgentsRequest.Builder opcRequestId​(String opcRequestId)
        The client request ID for tracing.
        Parameters:
        opcRequestId - the value to set
        Returns:
        this builder instance
      • compartmentIdInSubtree

        public ListManagementAgentsRequest.Builder compartmentIdInSubtree​(Boolean compartmentIdInSubtree)
        if set to true then it fetches resources for all compartments where user has access to else only on the compartment specified.
        Parameters:
        compartmentIdInSubtree - the value to set
        Returns:
        this builder instance
      • accessLevel

        public ListManagementAgentsRequest.Builder accessLevel​(String accessLevel)
        When the value is “ACCESSIBLE”, insufficient permissions for a compartment will filter out resources in that compartment without rejecting the request.
        Parameters:
        accessLevel - the value to set
        Returns:
        this builder instance
      • dataSourceName

        public ListManagementAgentsRequest.Builder dataSourceName​(String singularValue)
        Singular setter.

        Unique name of the dataSource.

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

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