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 class
PutAttachmentRequest.Builder
-
Constructor Summary
Constructors Constructor Description PutAttachmentRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PutAttachmentRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.String
getAttachmentName()
The name of the file to attach to the support request.String
getBearertoken()
Token that provided by multi cloud provider, which help to validate the email.String
getBearertokentype()
Token type that determine which cloud provider the request come from.InputStream
getBody$()
Alternative accessor for the body parameter.String
getCompartmentId()
The OCID of the tenancy.String
getCsi()
The Customer Support Identifier (CSI) number associated with the support account.String
getDomainid()
The OCID of identity domain.String
getHomeregion()
The region of the tenancy.String
getIdtoken()
IdToken that provided by multi cloud provider, which help to validate the email.String
getIfMatch()
For optimistic concurrency control.String
getIncidentKey()
Unique identifier for the support request.Boolean
getIsRestrictedFlag()
Set to true when the attachment contains personal information (PI) or protected health information (PHI).String
getOcid()
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.String
getOpcRequestId()
Unique Oracle-assigned identifier for the request.String
getProblemtype()
The kind of support request.InputStream
getPutAttachmentDetails()
File to be uploaded as attachment to the Service Request.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.PutAttachmentRequest.Builder
toBuilder()
Return an instance ofPutAttachmentRequest.Builder
that allows you to modify request properties.String
toString()
-
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.Builder
that allows you to modify request properties.- Returns:
- instance of
PutAttachmentRequest.Builder
that 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:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<InputStream>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<InputStream>
-
-