@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public class GetUnsubscriptionRequest extends BmcRequest<Void>
Example: Click here to see how to use GetUnsubscriptionRequest.
| Modifier and Type | Class and Description |
|---|---|
static class |
GetUnsubscriptionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetUnsubscriptionRequest.Builder |
builder() |
String |
getId()
The OCID of the subscription to unsubscribe from.
|
String |
getOpcRequestId()
The unique Oracle-assigned identifier for the request.
|
String |
getProtocol()
The protocol used for the subscription.
|
String |
getToken()
The subscription confirmation token.
|
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfigurationpublic static GetUnsubscriptionRequest.Builder builder()
public String getToken()
The subscription confirmation token.
public String getProtocol()
The protocol used for the subscription.
Allowed values: * `CUSTOM_HTTPS` * `EMAIL` * `HTTPS` (deprecated; for PagerDuty endpoints, use `PAGERDUTY`) * `PAGERDUTY` * `SLACK` * `ORACLE_FUNCTIONS`
For information about subscription protocols, see [To create a subscription](https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#createSub).
public String getOpcRequestId()
The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Copyright © 2016–2021. All rights reserved.