Struct aws_sdk_proton::input::get_component_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for GetComponentInput.
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 component that you want to get the detailed data for.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the component that you want to get the detailed data for.
sourcepub fn build(self) -> Result<GetComponentInput, BuildError>
pub fn build(self) -> Result<GetComponentInput, BuildError>
Consumes the builder and constructs a GetComponentInput.