@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class ConfirmationResult extends Object
The confirmation result.
Note: Objects should always be created or deserialized using the ConfirmationResult.Builder
. This model distinguishes fields that are null
because they are unset from fields that are explicitly set to null
. This is done in the setter methods of the ConfirmationResult.Builder
, which maintain a set of all explicitly set fields called __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ConfirmationResult.Builder |
Constructor and Description |
---|
ConfirmationResult(String topicName,
String topicId,
String endpoint,
String unsubscribeUrl,
String message,
String subscriptionId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ConfirmationResult.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getEndpoint()
The endpoint of the subscription.
|
String |
getMessage()
Human readable text which tells the user if the confirmation succeeds.
|
String |
getSubscriptionId()
The OCID of the subscription.
|
String |
getTopicId()
The OCID of the topic to delete.
|
String |
getTopicName()
The name of the subscribed topic.
|
String |
getUnsubscribeUrl()
The URL user can use to unsubscribe the topic.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"topicName","topicId","endpoint","unsubscribeUrl","message","subscriptionId"}) @Deprecated public ConfirmationResult(String topicName, String topicId, String endpoint, String unsubscribeUrl, String message, String subscriptionId)
public static ConfirmationResult.Builder builder()
Create a new builder.
public String getTopicName()
The name of the subscribed topic.
public String getEndpoint()
The endpoint of the subscription. Valid values depend on the protocol. For EMAIL, only an email address is valid. For HTTPS, only a PagerDuty URL is valid. A URL cannot exceed 512 characters. Avoid entering confidential information.
public String getUnsubscribeUrl()
The URL user can use to unsubscribe the topic.
public String getMessage()
Human readable text which tells the user if the confirmation succeeds.
Copyright © 2016–2019. All rights reserved.