#[non_exhaustive]pub struct ResetGraphInputBuilder { /* private fields */ }
Expand description
A builder for ResetGraphInput
.
Implementations§
source§impl ResetGraphInputBuilder
impl ResetGraphInputBuilder
sourcepub fn graph_identifier(self, input: impl Into<String>) -> Self
pub fn graph_identifier(self, input: impl Into<String>) -> Self
ID of the graph to reset.
This field is required.sourcepub fn set_graph_identifier(self, input: Option<String>) -> Self
pub fn set_graph_identifier(self, input: Option<String>) -> Self
ID of the graph to reset.
sourcepub fn get_graph_identifier(&self) -> &Option<String>
pub fn get_graph_identifier(&self) -> &Option<String>
ID of the graph to reset.
sourcepub fn skip_snapshot(self, input: bool) -> Self
pub fn skip_snapshot(self, input: bool) -> Self
Determines whether a final graph snapshot is created before the graph data is deleted. If set to true
, no graph snapshot is created. If set to false
, a graph snapshot is created before the data is deleted.
sourcepub fn set_skip_snapshot(self, input: Option<bool>) -> Self
pub fn set_skip_snapshot(self, input: Option<bool>) -> Self
Determines whether a final graph snapshot is created before the graph data is deleted. If set to true
, no graph snapshot is created. If set to false
, a graph snapshot is created before the data is deleted.
sourcepub fn get_skip_snapshot(&self) -> &Option<bool>
pub fn get_skip_snapshot(&self) -> &Option<bool>
Determines whether a final graph snapshot is created before the graph data is deleted. If set to true
, no graph snapshot is created. If set to false
, a graph snapshot is created before the data is deleted.
sourcepub fn build(self) -> Result<ResetGraphInput, BuildError>
pub fn build(self) -> Result<ResetGraphInput, BuildError>
Consumes the builder and constructs a ResetGraphInput
.
source§impl ResetGraphInputBuilder
impl ResetGraphInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ResetGraphOutput, SdkError<ResetGraphError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ResetGraphOutput, SdkError<ResetGraphError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ResetGraphInputBuilder
impl Clone for ResetGraphInputBuilder
source§fn clone(&self) -> ResetGraphInputBuilder
fn clone(&self) -> ResetGraphInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResetGraphInputBuilder
impl Debug for ResetGraphInputBuilder
source§impl Default for ResetGraphInputBuilder
impl Default for ResetGraphInputBuilder
source§fn default() -> ResetGraphInputBuilder
fn default() -> ResetGraphInputBuilder
source§impl PartialEq for ResetGraphInputBuilder
impl PartialEq for ResetGraphInputBuilder
source§fn eq(&self, other: &ResetGraphInputBuilder) -> bool
fn eq(&self, other: &ResetGraphInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResetGraphInputBuilder
Auto Trait Implementations§
impl Freeze for ResetGraphInputBuilder
impl RefUnwindSafe for ResetGraphInputBuilder
impl Send for ResetGraphInputBuilder
impl Sync for ResetGraphInputBuilder
impl Unpin for ResetGraphInputBuilder
impl UnwindSafe for ResetGraphInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more