Struct aws_sdk_apigateway::input::get_method_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for GetMethodInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn rest_api_id(self, input: impl Into<String>) -> Self
pub fn rest_api_id(self, input: impl Into<String>) -> Self
The string identifier of the associated RestApi.
sourcepub fn set_rest_api_id(self, input: Option<String>) -> Self
pub fn set_rest_api_id(self, input: Option<String>) -> Self
The string identifier of the associated RestApi.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The Resource identifier for the Method resource.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The Resource identifier for the Method resource.
sourcepub fn http_method(self, input: impl Into<String>) -> Self
pub fn http_method(self, input: impl Into<String>) -> Self
Specifies the method request's HTTP method type.
sourcepub fn set_http_method(self, input: Option<String>) -> Self
pub fn set_http_method(self, input: Option<String>) -> Self
Specifies the method request's HTTP method type.
sourcepub fn build(self) -> Result<GetMethodInput, BuildError>
pub fn build(self) -> Result<GetMethodInput, BuildError>
Consumes the builder and constructs a GetMethodInput.