pub struct Builder { /* private fields */ }
Expand description
A builder for UnsuccessfulInstanceCreditSpecificationItemError
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn code(
self,
input: UnsuccessfulInstanceCreditSpecificationErrorCode
) -> Self
pub fn code(
self,
input: UnsuccessfulInstanceCreditSpecificationErrorCode
) -> Self
The error code.
sourcepub fn set_code(
self,
input: Option<UnsuccessfulInstanceCreditSpecificationErrorCode>
) -> Self
pub fn set_code(
self,
input: Option<UnsuccessfulInstanceCreditSpecificationErrorCode>
) -> Self
The error code.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The applicable error message.
sourcepub fn build(self) -> UnsuccessfulInstanceCreditSpecificationItemError
pub fn build(self) -> UnsuccessfulInstanceCreditSpecificationItemError
Consumes the builder and constructs a UnsuccessfulInstanceCreditSpecificationItemError
.