public static class ConfirmationResult.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ConfirmationResult |
build() |
ConfirmationResult.Builder |
copy(ConfirmationResult model) |
ConfirmationResult.Builder |
endpoint(String endpoint)
A locator that corresponds to the subscription protocol.
|
ConfirmationResult.Builder |
message(String message)
A human-readable string indicating the status of the subscription confirmation.
|
ConfirmationResult.Builder |
subscriptionId(String subscriptionId)
The OCID
of the subscription specified in the request.
|
ConfirmationResult.Builder |
topicId(String topicId)
The OCID
of the topic associated with the specified subscription.
|
ConfirmationResult.Builder |
topicName(String topicName)
The name of the subscribed topic.
|
ConfirmationResult.Builder |
unsubscribeUrl(String unsubscribeUrl)
The URL for unsubscribing from the topic.
|
public ConfirmationResult.Builder topicName(String topicName)
The name of the subscribed topic.
topicName
- the value to setpublic ConfirmationResult.Builder topicId(String topicId)
The OCID of the topic associated with the specified subscription.
topicId
- the value to setpublic ConfirmationResult.Builder endpoint(String endpoint)
A locator that corresponds to the subscription protocol. For example, an email address
for a subscription that uses the EMAIL
protocol, or a URL for a subscription that
uses an HTTP-based protocol.
endpoint
- the value to setpublic ConfirmationResult.Builder unsubscribeUrl(String unsubscribeUrl)
The URL for unsubscribing from the topic.
unsubscribeUrl
- the value to setpublic ConfirmationResult.Builder message(String message)
A human-readable string indicating the status of the subscription confirmation.
message
- the value to setpublic ConfirmationResult.Builder subscriptionId(String subscriptionId)
The OCID of the subscription specified in the request.
subscriptionId
- the value to setpublic ConfirmationResult build()
public ConfirmationResult.Builder copy(ConfirmationResult model)
Copyright © 2016–2024. All rights reserved.