Package com.oracle.bmc.ons.model
Class ConfirmationResult.Builder
- java.lang.Object
-
- com.oracle.bmc.ons.model.ConfirmationResult.Builder
-
- Enclosing class:
- ConfirmationResult
public static class ConfirmationResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
topicName
public ConfirmationResult.Builder topicName(String topicName)
The name of the subscribed topic.- Parameters:
topicName
- the value to set- Returns:
- this builder
-
topicId
public ConfirmationResult.Builder topicId(String topicId)
The OCID of the topic associated with the specified subscription.- Parameters:
topicId
- the value to set- Returns:
- this builder
-
endpoint
public 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.
- Parameters:
endpoint
- the value to set- Returns:
- this builder
-
unsubscribeUrl
public ConfirmationResult.Builder unsubscribeUrl(String unsubscribeUrl)
The URL for unsubscribing from the topic.- Parameters:
unsubscribeUrl
- the value to set- Returns:
- this builder
-
message
public ConfirmationResult.Builder message(String message)
A human-readable string indicating the status of the subscription confirmation.- Parameters:
message
- the value to set- Returns:
- this builder
-
subscriptionId
public ConfirmationResult.Builder subscriptionId(String subscriptionId)
The OCID of the subscription specified in the request.- Parameters:
subscriptionId
- the value to set- Returns:
- this builder
-
build
public ConfirmationResult build()
-
copy
public ConfirmationResult.Builder copy(ConfirmationResult model)
-
-