public static interface Topic.Builder extends SdkPojo, CopyableBuilder<Topic.Builder,Topic>
| Modifier and Type | Method and Description |
|---|---|
default Topic.Builder |
resource(Consumer<NotificationResource.Builder> resource)
Sets the value of the Resource property for this object.
|
Topic.Builder |
resource(NotificationResource resource)
Sets the value of the Resource property for this object.
|
Topic.Builder |
role(NotificationRole role)
The role of the resource mentioned in a notification.
|
Topic.Builder |
role(String role)
The role of the resource mentioned in a notification.
|
Topic.Builder |
subject(String subject)
The subject of the resource mentioned in a notification.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTopic.Builder resource(NotificationResource resource)
resource - The new value for the Resource property for this object.default Topic.Builder resource(Consumer<NotificationResource.Builder> resource)
NotificationResource.Builder avoiding
the need to create one manually via NotificationResource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to resource(NotificationResource).
resource - a consumer that will call methods on NotificationResource.Builderresource(NotificationResource)Topic.Builder role(String role)
The role of the resource mentioned in a notification.
role - The role of the resource mentioned in a notification.NotificationRole,
NotificationRoleTopic.Builder role(NotificationRole role)
The role of the resource mentioned in a notification.
role - The role of the resource mentioned in a notification.NotificationRole,
NotificationRoleTopic.Builder subject(String subject)
The subject of the resource mentioned in a notification.
subject - The subject of the resource mentioned in a notification.Copyright © 2023. All rights reserved.