Interface Topic.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Topic.Builder,,Topic> SdkBuilder<Topic.Builder,,Topic> SdkPojo
- Enclosing class:
Topic
-
Method Summary
Modifier and TypeMethodDescriptiondefault Topic.Builderresource(Consumer<NotificationResource.Builder> resource) Sets the value of the Resource property for this object.resource(NotificationResource resource) Sets the value of the Resource property for this object.The role of the resource mentioned in a notification.role(NotificationRole role) The role of the resource mentioned in a notification.The subject of the resource mentioned in a notification.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resource
Sets the value of the Resource property for this object.- Parameters:
resource- The new value for the Resource property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
Sets the value of the Resource property for this object. This is a convenience method that creates an instance of theNotificationResource.Builderavoiding the need to create one manually viaNotificationResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresource(NotificationResource).- Parameters:
resource- a consumer that will call methods onNotificationResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
role
The role of the resource mentioned in a notification.
- Parameters:
role- The role of the resource mentioned in a notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
role
The role of the resource mentioned in a notification.
- Parameters:
role- The role of the resource mentioned in a notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subject
The subject of the resource mentioned in a notification.
- Parameters:
subject- The subject of the resource mentioned in a notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-