pub struct Builder { /* private fields */ }
Expand description
A builder for CreateActionTargetInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the custom action target. Can contain up to 20 characters.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the custom action target. Can contain up to 20 characters.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for the custom action target.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for the custom action target.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID for the custom action target. Can contain up to 20 alphanumeric characters.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID for the custom action target. Can contain up to 20 alphanumeric characters.
sourcepub fn build(self) -> Result<CreateActionTargetInput, BuildError>
pub fn build(self) -> Result<CreateActionTargetInput, BuildError>
Consumes the builder and constructs a CreateActionTargetInput
.