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 ConfirmationResultbuild()ConfirmationResult.Buildercopy(ConfirmationResult model)ConfirmationResult.Builderendpoint(String endpoint)A locator that corresponds to the subscription protocol.ConfirmationResult.Buildermessage(String message)A human-readable string indicating the status of the subscription confirmation.ConfirmationResult.BuildersubscriptionId(String subscriptionId)The OCID of the subscription specified in the request.ConfirmationResult.BuildertopicId(String topicId)The OCID of the topic associated with the specified subscription.ConfirmationResult.BuildertopicName(String topicName)The name of the subscribed topic.ConfirmationResult.BuilderunsubscribeUrl(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)
-
-