pub struct Builder { /* private fields */ }
Expand description
A builder for PropertyValidationExceptionProperty
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn property_path(self, input: impl Into<String>) -> Self
pub fn property_path(self, input: impl Into<String>) -> Self
The full property path.
sourcepub fn set_property_path(self, input: Option<String>) -> Self
pub fn set_property_path(self, input: Option<String>) -> Self
The full property path.
sourcepub fn reason(self, input: PropertyValidationExceptionReason) -> Self
pub fn reason(self, input: PropertyValidationExceptionReason) -> Self
Why the property is not valid.
sourcepub fn set_reason(self, input: Option<PropertyValidationExceptionReason>) -> Self
pub fn set_reason(self, input: Option<PropertyValidationExceptionReason>) -> Self
Why the property is not valid.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
A message describing why the property is not valid.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
A message describing why the property is not valid.
sourcepub fn build(self) -> PropertyValidationExceptionProperty
pub fn build(self) -> PropertyValidationExceptionProperty
Consumes the builder and constructs a PropertyValidationExceptionProperty
.