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
impl StructuralPartialEq for NonCompliantResourceBuilder
Auto Trait Implementations§
impl Freeze for NonCompliantResourceBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.