Struct aws_sdk_iotthingsgraph::operation::upload_entity_definitions::builders::UploadEntityDefinitionsInputBuilder
source · #[non_exhaustive]pub struct UploadEntityDefinitionsInputBuilder { /* private fields */ }
Expand description
A builder for UploadEntityDefinitionsInput
.
Implementations§
source§impl UploadEntityDefinitionsInputBuilder
impl UploadEntityDefinitionsInputBuilder
sourcepub fn document(self, input: DefinitionDocument) -> Self
pub fn document(self, input: DefinitionDocument) -> Self
The DefinitionDocument
that defines the updated entities.
sourcepub fn set_document(self, input: Option<DefinitionDocument>) -> Self
pub fn set_document(self, input: Option<DefinitionDocument>) -> Self
The DefinitionDocument
that defines the updated entities.
sourcepub fn get_document(&self) -> &Option<DefinitionDocument>
pub fn get_document(&self) -> &Option<DefinitionDocument>
The DefinitionDocument
that defines the updated entities.
sourcepub fn sync_with_public_namespace(self, input: bool) -> Self
pub fn sync_with_public_namespace(self, input: bool) -> Self
A Boolean that specifies whether to synchronize with the latest version of the public namespace. If set to true
, the upload will create a new namespace version.
sourcepub fn set_sync_with_public_namespace(self, input: Option<bool>) -> Self
pub fn set_sync_with_public_namespace(self, input: Option<bool>) -> Self
A Boolean that specifies whether to synchronize with the latest version of the public namespace. If set to true
, the upload will create a new namespace version.
sourcepub fn get_sync_with_public_namespace(&self) -> &Option<bool>
pub fn get_sync_with_public_namespace(&self) -> &Option<bool>
A Boolean that specifies whether to synchronize with the latest version of the public namespace. If set to true
, the upload will create a new namespace version.
sourcepub fn deprecate_existing_entities(self, input: bool) -> Self
pub fn deprecate_existing_entities(self, input: bool) -> Self
A Boolean that specifies whether to deprecate all entities in the latest version before uploading the new DefinitionDocument
. If set to true
, the upload will create a new namespace version.
sourcepub fn set_deprecate_existing_entities(self, input: Option<bool>) -> Self
pub fn set_deprecate_existing_entities(self, input: Option<bool>) -> Self
A Boolean that specifies whether to deprecate all entities in the latest version before uploading the new DefinitionDocument
. If set to true
, the upload will create a new namespace version.
sourcepub fn get_deprecate_existing_entities(&self) -> &Option<bool>
pub fn get_deprecate_existing_entities(&self) -> &Option<bool>
A Boolean that specifies whether to deprecate all entities in the latest version before uploading the new DefinitionDocument
. If set to true
, the upload will create a new namespace version.
sourcepub fn build(self) -> Result<UploadEntityDefinitionsInput, BuildError>
pub fn build(self) -> Result<UploadEntityDefinitionsInput, BuildError>
Consumes the builder and constructs a UploadEntityDefinitionsInput
.
source§impl UploadEntityDefinitionsInputBuilder
impl UploadEntityDefinitionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UploadEntityDefinitionsOutput, SdkError<UploadEntityDefinitionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UploadEntityDefinitionsOutput, SdkError<UploadEntityDefinitionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UploadEntityDefinitionsInputBuilder
impl Clone for UploadEntityDefinitionsInputBuilder
source§fn clone(&self) -> UploadEntityDefinitionsInputBuilder
fn clone(&self) -> UploadEntityDefinitionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UploadEntityDefinitionsInputBuilder
impl Default for UploadEntityDefinitionsInputBuilder
source§fn default() -> UploadEntityDefinitionsInputBuilder
fn default() -> UploadEntityDefinitionsInputBuilder
source§impl PartialEq for UploadEntityDefinitionsInputBuilder
impl PartialEq for UploadEntityDefinitionsInputBuilder
source§fn eq(&self, other: &UploadEntityDefinitionsInputBuilder) -> bool
fn eq(&self, other: &UploadEntityDefinitionsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UploadEntityDefinitionsInputBuilder
Auto Trait Implementations§
impl Freeze for UploadEntityDefinitionsInputBuilder
impl RefUnwindSafe for UploadEntityDefinitionsInputBuilder
impl Send for UploadEntityDefinitionsInputBuilder
impl Sync for UploadEntityDefinitionsInputBuilder
impl Unpin for UploadEntityDefinitionsInputBuilder
impl UnwindSafe for UploadEntityDefinitionsInputBuilder
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