Class PutAttachmentRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • putAttachmentDetails

        public PutAttachmentRequest.Builder putAttachmentDetails​(InputStream putAttachmentDetails)
        File to be uploaded as attachment to the Service Request.
        Parameters:
        putAttachmentDetails - the value to set
        Returns:
        this builder instance
      • incidentKey

        public PutAttachmentRequest.Builder incidentKey​(String incidentKey)
        Unique identifier for the support request.
        Parameters:
        incidentKey - the value to set
        Returns:
        this builder instance
      • attachmentName

        public PutAttachmentRequest.Builder attachmentName​(String attachmentName)
        The name of the file to attach to the support request.

        Avoid entering confidential information.

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

        public PutAttachmentRequest.Builder compartmentId​(String compartmentId)
        The OCID of the tenancy.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder instance
      • isRestrictedFlag

        public PutAttachmentRequest.Builder isRestrictedFlag​(Boolean isRestrictedFlag)
        Set to true when the attachment contains personal information (PI) or protected health information (PHI).
        Parameters:
        isRestrictedFlag - the value to set
        Returns:
        this builder instance
      • csi

        public PutAttachmentRequest.Builder csi​(String csi)
        The Customer Support Identifier (CSI) number associated with the support account.

        The CSI is optional for all support request types.

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

        public PutAttachmentRequest.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
      • ocid

        public PutAttachmentRequest.Builder ocid​(String ocid)
        User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.

        User OCID is mandatory for OCI Users and optional for Multicloud users.

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

        public PutAttachmentRequest.Builder ifMatch​(String ifMatch)
        For optimistic concurrency control.

        In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.

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

        public PutAttachmentRequest.Builder homeregion​(String homeregion)
        The region of the tenancy.
        Parameters:
        homeregion - the value to set
        Returns:
        this builder instance
      • problemtype

        public PutAttachmentRequest.Builder problemtype​(String problemtype)
        The kind of support request.
        Parameters:
        problemtype - the value to set
        Returns:
        this builder instance
      • bearertokentype

        public PutAttachmentRequest.Builder bearertokentype​(String bearertokentype)
        Token type that determine which cloud provider the request come from.
        Parameters:
        bearertokentype - the value to set
        Returns:
        this builder instance
      • bearertoken

        public PutAttachmentRequest.Builder bearertoken​(String bearertoken)
        Token that provided by multi cloud provider, which help to validate the email.
        Parameters:
        bearertoken - the value to set
        Returns:
        this builder instance
      • idtoken

        public PutAttachmentRequest.Builder idtoken​(String idtoken)
        IdToken that provided by multi cloud provider, which help to validate the email.
        Parameters:
        idtoken - the value to set
        Returns:
        this builder instance
      • domainid

        public PutAttachmentRequest.Builder domainid​(String domainid)
        The OCID of identity domain.

        DomainID is mandatory if the user is part of Non Default Identity domain.

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

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