Class ListDeploymentsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public ListDeploymentsRequest.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the work request.

        Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.

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

        public ListDeploymentsRequest.Builder supportedConnectionType​(ConnectionType supportedConnectionType)
        The connection type which the deployment must support.
        Parameters:
        supportedConnectionType - the value to set
        Returns:
        this builder instance
      • assignedConnectionId

        public ListDeploymentsRequest.Builder assignedConnectionId​(String assignedConnectionId)
        The OCID of the connection which for the deployment must be assigned.
        Parameters:
        assignedConnectionId - the value to set
        Returns:
        this builder instance
      • assignableConnectionId

        public ListDeploymentsRequest.Builder assignableConnectionId​(String assignableConnectionId)
        Return the deployments to which the specified connectionId may be assigned.
        Parameters:
        assignableConnectionId - the value to set
        Returns:
        this builder instance
      • lifecycleState

        public ListDeploymentsRequest.Builder lifecycleState​(LifecycleState lifecycleState)
        A filter to return only the resources that match the ‘lifecycleState’ given.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder instance
      • lifecycleSubState

        public ListDeploymentsRequest.Builder lifecycleSubState​(LifecycleSubState lifecycleSubState)
        A filter to return only the resources that match the ‘lifecycleSubState’ given.
        Parameters:
        lifecycleSubState - the value to set
        Returns:
        this builder instance
      • displayName

        public ListDeploymentsRequest.Builder displayName​(String displayName)
        A filter to return only the resources that match the entire ‘displayName’ given.
        Parameters:
        displayName - the value to set
        Returns:
        this builder instance
      • fqdn

        public ListDeploymentsRequest.Builder fqdn​(String fqdn)
        A filter to return only the resources that match the ‘fqdn’ given.
        Parameters:
        fqdn - the value to set
        Returns:
        this builder instance
      • page

        public ListDeploymentsRequest.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
      • sortOrder

        public ListDeploymentsRequest.Builder sortOrder​(SortOrder sortOrder)
        The sort order to use, either ‘asc’ or ‘desc’.
        Parameters:
        sortOrder - the value to set
        Returns:
        this builder instance
      • sortBy

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

        Only one sort order can be provided. Default order for ‘timeCreated’ is descending. Default order for ‘displayName’ is ascending. If no value is specified timeCreated is the default.

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

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

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