#[non_exhaustive]pub struct PolicyAttributeDescriptionBuilder { /* private fields */ }
Expand description
A builder for PolicyAttributeDescription
.
Implementations§
source§impl PolicyAttributeDescriptionBuilder
impl PolicyAttributeDescriptionBuilder
sourcepub fn attribute_name(self, input: impl Into<String>) -> Self
pub fn attribute_name(self, input: impl Into<String>) -> Self
The name of the attribute.
sourcepub fn set_attribute_name(self, input: Option<String>) -> Self
pub fn set_attribute_name(self, input: Option<String>) -> Self
The name of the attribute.
sourcepub fn attribute_value(self, input: impl Into<String>) -> Self
pub fn attribute_value(self, input: impl Into<String>) -> Self
The value of the attribute.
sourcepub fn set_attribute_value(self, input: Option<String>) -> Self
pub fn set_attribute_value(self, input: Option<String>) -> Self
The value of the attribute.
sourcepub fn build(self) -> PolicyAttributeDescription
pub fn build(self) -> PolicyAttributeDescription
Consumes the builder and constructs a PolicyAttributeDescription
.
Trait Implementations§
source§impl Clone for PolicyAttributeDescriptionBuilder
impl Clone for PolicyAttributeDescriptionBuilder
source§fn clone(&self) -> PolicyAttributeDescriptionBuilder
fn clone(&self) -> PolicyAttributeDescriptionBuilder
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 Default for PolicyAttributeDescriptionBuilder
impl Default for PolicyAttributeDescriptionBuilder
source§fn default() -> PolicyAttributeDescriptionBuilder
fn default() -> PolicyAttributeDescriptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PolicyAttributeDescriptionBuilder> for PolicyAttributeDescriptionBuilder
impl PartialEq<PolicyAttributeDescriptionBuilder> for PolicyAttributeDescriptionBuilder
source§fn eq(&self, other: &PolicyAttributeDescriptionBuilder) -> bool
fn eq(&self, other: &PolicyAttributeDescriptionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.