Class PutAttachmentRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.cims.requests.PutAttachmentRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<PutAttachmentRequest,InputStream>
 - Enclosing class:
- PutAttachmentRequest
 
 public static class PutAttachmentRequest.Builder extends Object implements BmcRequest.Builder<PutAttachmentRequest,InputStream> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PutAttachmentRequest.BuilderattachmentName(String attachmentName)The name of the file to attach to the support request.PutAttachmentRequest.Builderbearertoken(String bearertoken)Token that provided by multi cloud provider, which help to validate the email.PutAttachmentRequest.Builderbearertokentype(String bearertokentype)Token type that determine which cloud provider the request come from.PutAttachmentRequest.Builderbody$(InputStream body)Alternative setter for the body parameter.PutAttachmentRequestbuild()Build the instance of PutAttachmentRequest as configured by this builderPutAttachmentRequestbuildWithoutInvocationCallback()Build the instance of PutAttachmentRequest as configured by this builderPutAttachmentRequest.BuildercompartmentId(String compartmentId)The OCID of the tenancy.PutAttachmentRequest.Buildercopy(PutAttachmentRequest o)Copy method to populate the builder with values from the given instance.PutAttachmentRequest.Buildercsi(String csi)The Customer Support Identifier (CSI) number associated with the support account.PutAttachmentRequest.Builderdomainid(String domainid)The OCID of identity domain.PutAttachmentRequest.Builderhomeregion(String homeregion)The region of the tenancy.PutAttachmentRequest.Builderidtoken(String idtoken)IdToken that provided by multi cloud provider, which help to validate the email.PutAttachmentRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.PutAttachmentRequest.BuilderincidentKey(String incidentKey)Unique identifier for the support request.PutAttachmentRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.PutAttachmentRequest.BuilderisRestrictedFlag(Boolean isRestrictedFlag)Set to true when the attachment contains personal information (PI) or protected health information (PHI).PutAttachmentRequest.Builderocid(String ocid)User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.PutAttachmentRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.PutAttachmentRequest.Builderproblemtype(String problemtype)The kind of support request.PutAttachmentRequest.BuilderputAttachmentDetails(InputStream putAttachmentDetails)File to be uploaded as attachment to the Service Request.PutAttachmentRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
 
- 
- 
- 
Method Detail- 
putAttachmentDetailspublic 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
 
 - 
incidentKeypublic PutAttachmentRequest.Builder incidentKey(String incidentKey) Unique identifier for the support request.- Parameters:
- incidentKey- the value to set
- Returns:
- this builder instance
 
 - 
attachmentNamepublic 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
 
 - 
compartmentIdpublic PutAttachmentRequest.Builder compartmentId(String compartmentId) The OCID of the tenancy.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder instance
 
 - 
isRestrictedFlagpublic 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
 
 - 
csipublic 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
 
 - 
opcRequestIdpublic 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
 
 - 
ocidpublic 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
 
 - 
ifMatchpublic 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
 
 - 
homeregionpublic PutAttachmentRequest.Builder homeregion(String homeregion) The region of the tenancy.- Parameters:
- homeregion- the value to set
- Returns:
- this builder instance
 
 - 
problemtypepublic PutAttachmentRequest.Builder problemtype(String problemtype) The kind of support request.- Parameters:
- problemtype- the value to set
- Returns:
- this builder instance
 
 - 
bearertokentypepublic 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
 
 - 
bearertokenpublic 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
 
 - 
idtokenpublic 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
 
 - 
domainidpublic 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
 
 - 
invocationCallbackpublic 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
 
 - 
retryConfigurationpublic 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
 
 - 
copypublic PutAttachmentRequest.Builder copy(PutAttachmentRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<PutAttachmentRequest,InputStream>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic PutAttachmentRequest build() Build the instance of PutAttachmentRequest as configured by this builderNote that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance. - Specified by:
- buildin interface- BmcRequest.Builder<PutAttachmentRequest,InputStream>
- Returns:
- instance of PutAttachmentRequest
 
 - 
body$public PutAttachmentRequest.Builder body$(InputStream body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<PutAttachmentRequest,InputStream>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic PutAttachmentRequest buildWithoutInvocationCallback() Build the instance of PutAttachmentRequest as configured by this builderNote that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of PutAttachmentRequest
 
 
- 
 
-