Interface IntelligenceNotificationTargetEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IntelligenceNotificationTargetEntry.Builder,,IntelligenceNotificationTargetEntry> SdkBuilder<IntelligenceNotificationTargetEntry.Builder,,IntelligenceNotificationTargetEntry> SdkPojo
- Enclosing class:
IntelligenceNotificationTargetEntry
-
Method Summary
Modifier and TypeMethodDescriptionThe routing filter that selects which notifications reach this target.filter(IntelligenceNotificationFilter filter) The routing filter that selects which notifications reach this target.The destination.target(IntelligenceNotificationTarget target) The destination.The identifier the service assigns to the entry when it is first saved.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, sdkFieldNameToField, sdkFields
-
Method Details
-
targetId
The identifier the service assigns to the entry when it is first saved. Omit it on a new entry. To keep an existing entry, echo its targetId and its target unchanged; its filter may change. An entry whose targetId is not stored on the configuration, or whose target differs from the stored target for that targetId, is rejected.
- Parameters:
targetId- The identifier the service assigns to the entry when it is first saved. Omit it on a new entry. To keep an existing entry, echo its targetId and its target unchanged; its filter may change. An entry whose targetId is not stored on the configuration, or whose target differs from the stored target for that targetId, is rejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
The destination.
- Parameters:
target- The destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
default IntelligenceNotificationTargetEntry.Builder target(Consumer<IntelligenceNotificationTarget.Builder> target) The destination.
This is a convenience method that creates an instance of theIntelligenceNotificationTarget.Builderavoiding the need to create one manually viaIntelligenceNotificationTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totarget(IntelligenceNotificationTarget).- Parameters:
target- a consumer that will call methods onIntelligenceNotificationTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filter
The routing filter that selects which notifications reach this target. Optional. The filter sent with an entry replaces the stored one, and an entry sent without filter has no filter, so to keep an existing entry's filter, send it back with the entry. Unlike target, the filter of an existing entry may change, and a change to it is a change to notificationTargets.
- Parameters:
filter- The routing filter that selects which notifications reach this target. Optional. The filter sent with an entry replaces the stored one, and an entry sent without filter has no filter, so to keep an existing entry's filter, send it back with the entry. Unlike target, the filter of an existing entry may change, and a change to it is a change to notificationTargets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
default IntelligenceNotificationTargetEntry.Builder filter(Consumer<IntelligenceNotificationFilter.Builder> filter) The routing filter that selects which notifications reach this target. Optional. The filter sent with an entry replaces the stored one, and an entry sent without filter has no filter, so to keep an existing entry's filter, send it back with the entry. Unlike target, the filter of an existing entry may change, and a change to it is a change to notificationTargets.
This is a convenience method that creates an instance of theIntelligenceNotificationFilter.Builderavoiding the need to create one manually viaIntelligenceNotificationFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(IntelligenceNotificationFilter).- Parameters:
filter- a consumer that will call methods onIntelligenceNotificationFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-