Struct aws_sdk_codecommit::operation::get_comment_reactions::builders::GetCommentReactionsOutputBuilder
source · #[non_exhaustive]pub struct GetCommentReactionsOutputBuilder { /* private fields */ }Expand description
A builder for GetCommentReactionsOutput.
Implementations§
source§impl GetCommentReactionsOutputBuilder
impl GetCommentReactionsOutputBuilder
sourcepub fn reactions_for_comment(self, input: ReactionForComment) -> Self
pub fn reactions_for_comment(self, input: ReactionForComment) -> Self
Appends an item to reactions_for_comment.
To override the contents of this collection use set_reactions_for_comment.
An array of reactions to the specified comment.
sourcepub fn set_reactions_for_comment(
self,
input: Option<Vec<ReactionForComment>>
) -> Self
pub fn set_reactions_for_comment( self, input: Option<Vec<ReactionForComment>> ) -> Self
An array of reactions to the specified comment.
sourcepub fn get_reactions_for_comment(&self) -> &Option<Vec<ReactionForComment>>
pub fn get_reactions_for_comment(&self) -> &Option<Vec<ReactionForComment>>
An array of reactions to the specified comment.
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 the 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 the results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
An enumeration token that can be used in a request to return the next batch of the results.
sourcepub fn build(self) -> Result<GetCommentReactionsOutput, BuildError>
pub fn build(self) -> Result<GetCommentReactionsOutput, BuildError>
Consumes the builder and constructs a GetCommentReactionsOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetCommentReactionsOutputBuilder
impl Clone for GetCommentReactionsOutputBuilder
source§fn clone(&self) -> GetCommentReactionsOutputBuilder
fn clone(&self) -> GetCommentReactionsOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for GetCommentReactionsOutputBuilder
impl Default for GetCommentReactionsOutputBuilder
source§fn default() -> GetCommentReactionsOutputBuilder
fn default() -> GetCommentReactionsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetCommentReactionsOutputBuilder
impl PartialEq for GetCommentReactionsOutputBuilder
source§fn eq(&self, other: &GetCommentReactionsOutputBuilder) -> bool
fn eq(&self, other: &GetCommentReactionsOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetCommentReactionsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetCommentReactionsOutputBuilder
impl Send for GetCommentReactionsOutputBuilder
impl Sync for GetCommentReactionsOutputBuilder
impl Unpin for GetCommentReactionsOutputBuilder
impl UnwindSafe for GetCommentReactionsOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.