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 ==.