Class PutAttachmentRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<InputStream>
-
- com.oracle.bmc.cims.requests.PutAttachmentRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181231") public class PutAttachmentRequest extends BmcRequest<InputStream>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/cims/PutAttachmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use PutAttachmentRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPutAttachmentRequest.Builder
-
Constructor Summary
Constructors Constructor Description PutAttachmentRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PutAttachmentRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetAttachmentName()The name of the file to attach to the support request.StringgetBearertoken()Token that provided by multi cloud provider, which help to validate the email.StringgetBearertokentype()Token type that determine which cloud provider the request come from.InputStreamgetBody$()Alternative accessor for the body parameter.StringgetCompartmentId()The OCID of the tenancy.StringgetCsi()The Customer Support Identifier (CSI) number associated with the support account.StringgetDomainid()The OCID of identity domain.StringgetHomeregion()The region of the tenancy.StringgetIdtoken()IdToken that provided by multi cloud provider, which help to validate the email.StringgetIfMatch()For optimistic concurrency control.StringgetIncidentKey()Unique identifier for the support request.BooleangetIsRestrictedFlag()Set to true when the attachment contains personal information (PI) or protected health information (PHI).StringgetOcid()User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.StringgetOpcRequestId()Unique Oracle-assigned identifier for the request.StringgetProblemtype()The kind of support request.InputStreamgetPutAttachmentDetails()File to be uploaded as attachment to the Service Request.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.PutAttachmentRequest.BuildertoBuilder()Return an instance ofPutAttachmentRequest.Builderthat allows you to modify request properties.StringtoString()-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getPutAttachmentDetails
public InputStream getPutAttachmentDetails()
File to be uploaded as attachment to the Service Request.
-
getIncidentKey
public String getIncidentKey()
Unique identifier for the support request.
-
getAttachmentName
public String getAttachmentName()
The name of the file to attach to the support request.Avoid entering confidential information.
-
getCompartmentId
public String getCompartmentId()
The OCID of the tenancy.
-
getIsRestrictedFlag
public Boolean getIsRestrictedFlag()
Set to true when the attachment contains personal information (PI) or protected health information (PHI).
-
getCsi
public String getCsi()
The Customer Support Identifier (CSI) number associated with the support account.The CSI is optional for all support request types.
-
getOpcRequestId
public String getOpcRequestId()
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
-
getOcid
public String getOcid()
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.
-
getIfMatch
public String getIfMatch()
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.
-
getHomeregion
public String getHomeregion()
The region of the tenancy.
-
getProblemtype
public String getProblemtype()
The kind of support request.
-
getBearertokentype
public String getBearertokentype()
Token type that determine which cloud provider the request come from.
-
getBearertoken
public String getBearertoken()
Token that provided by multi cloud provider, which help to validate the email.
-
getIdtoken
public String getIdtoken()
IdToken that provided by multi cloud provider, which help to validate the email.
-
getDomainid
public String getDomainid()
The OCID of identity domain.DomainID is mandatory if the user is part of Non Default Identity domain.
-
getBody$
public InputStream getBody$()
Alternative accessor for the body parameter.- Overrides:
getBody$in classBmcRequest<InputStream>- Returns:
- body parameter
-
toBuilder
public PutAttachmentRequest.Builder toBuilder()
Return an instance ofPutAttachmentRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
PutAttachmentRequest.Builderthat allows you to modify request properties.
-
builder
public static PutAttachmentRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<InputStream>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<InputStream>
-
-