Struct aws_sdk_iot::types::builders::NonCompliantResourceBuilder
source · #[non_exhaustive]pub struct NonCompliantResourceBuilder { /* private fields */ }Expand description
A builder for NonCompliantResource.
Implementations§
source§impl NonCompliantResourceBuilder
impl NonCompliantResourceBuilder
sourcepub fn resource_type(self, input: ResourceType) -> Self
pub fn resource_type(self, input: ResourceType) -> Self
The type of the noncompliant resource.
sourcepub fn set_resource_type(self, input: Option<ResourceType>) -> Self
pub fn set_resource_type(self, input: Option<ResourceType>) -> Self
The type of the noncompliant resource.
sourcepub fn get_resource_type(&self) -> &Option<ResourceType>
pub fn get_resource_type(&self) -> &Option<ResourceType>
The type of the noncompliant resource.
sourcepub fn resource_identifier(self, input: ResourceIdentifier) -> Self
pub fn resource_identifier(self, input: ResourceIdentifier) -> Self
Information that identifies the noncompliant resource.
sourcepub fn set_resource_identifier(self, input: Option<ResourceIdentifier>) -> Self
pub fn set_resource_identifier(self, input: Option<ResourceIdentifier>) -> Self
Information that identifies the noncompliant resource.
sourcepub fn get_resource_identifier(&self) -> &Option<ResourceIdentifier>
pub fn get_resource_identifier(&self) -> &Option<ResourceIdentifier>
Information that identifies the noncompliant resource.
sourcepub fn additional_info(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn additional_info(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to additional_info.
To override the contents of this collection use set_additional_info.
Other information about the noncompliant resource.
sourcepub fn set_additional_info(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_additional_info(self, input: Option<HashMap<String, String>>) -> Self
Other information about the noncompliant resource.
sourcepub fn get_additional_info(&self) -> &Option<HashMap<String, String>>
pub fn get_additional_info(&self) -> &Option<HashMap<String, String>>
Other information about the noncompliant resource.
sourcepub fn build(self) -> NonCompliantResource
pub fn build(self) -> NonCompliantResource
Consumes the builder and constructs a NonCompliantResource.
Trait Implementations§
source§impl Clone for NonCompliantResourceBuilder
impl Clone for NonCompliantResourceBuilder
source§fn clone(&self) -> NonCompliantResourceBuilder
fn clone(&self) -> NonCompliantResourceBuilder
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 Debug for NonCompliantResourceBuilder
impl Debug for NonCompliantResourceBuilder
source§impl Default for NonCompliantResourceBuilder
impl Default for NonCompliantResourceBuilder
source§fn default() -> NonCompliantResourceBuilder
fn default() -> NonCompliantResourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<NonCompliantResourceBuilder> for NonCompliantResourceBuilder
impl PartialEq<NonCompliantResourceBuilder> for NonCompliantResourceBuilder
source§fn eq(&self, other: &NonCompliantResourceBuilder) -> bool
fn eq(&self, other: &NonCompliantResourceBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for NonCompliantResourceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for NonCompliantResourceBuilder
impl Send for NonCompliantResourceBuilder
impl Sync for NonCompliantResourceBuilder
impl Unpin for NonCompliantResourceBuilder
impl UnwindSafe for NonCompliantResourceBuilder
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