pub struct Builder { /* private fields */ }
Expand description
A builder for PolicyAttributeDescription
.
Implementations§
source§impl Builder
impl Builder
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
.