@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 |
Constructor and Description |
---|
GetUnsubscriptionRequest() |
Modifier and Type | Method and Description |
---|---|
static GetUnsubscriptionRequest.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 |
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.
|
int |
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
|
GetUnsubscriptionRequest.Builder |
toBuilder()
Return an instance of
GetUnsubscriptionRequest.Builder that allows you to modify request properties. |
String |
toString() |
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
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
) * ORACLE_FUNCTIONS
* PAGERDUTY
*
SLACK
* SMS
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.
public GetUnsubscriptionRequest.Builder toBuilder()
Return an instance of GetUnsubscriptionRequest.Builder
that allows you to modify request properties.
GetUnsubscriptionRequest.Builder
that allows you to modify request properties.public static GetUnsubscriptionRequest.Builder builder()
Return a new builder for this request object.
public boolean equals(Object o)
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
equals
in class BmcRequest<Void>
public int hashCode()
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
hashCode
in class BmcRequest<Void>
Copyright © 2016–2024. All rights reserved.