pub struct Builder { /* private fields */ }
Expand description
A builder for ListTargetsOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn targets(self, input: TargetSummary) -> Self
pub fn targets(self, input: TargetSummary) -> Self
Appends an item to targets
.
To override the contents of this collection use set_targets
.
The list of notification rule targets.
sourcepub fn set_targets(self, input: Option<Vec<TargetSummary>>) -> Self
pub fn set_targets(self, input: Option<Vec<TargetSummary>>) -> Self
The list of notification rule targets.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An enumeration token that can be used in a request to return the next batch of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An enumeration token that can be used in a request to return the next batch of results.
sourcepub fn build(self) -> ListTargetsOutput
pub fn build(self) -> ListTargetsOutput
Consumes the builder and constructs a ListTargetsOutput
.