Struct aws_sdk_apigateway::operation::get_sdk::builders::GetSdkInputBuilder
source · #[non_exhaustive]pub struct GetSdkInputBuilder { /* private fields */ }Expand description
A builder for GetSdkInput.
Implementations§
source§impl GetSdkInputBuilder
impl GetSdkInputBuilder
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.
This field is required.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 get_rest_api_id(&self) -> &Option<String>
pub fn get_rest_api_id(&self) -> &Option<String>
The string identifier of the associated RestApi.
sourcepub fn stage_name(self, input: impl Into<String>) -> Self
pub fn stage_name(self, input: impl Into<String>) -> Self
The name of the Stage that the SDK will use.
This field is required.sourcepub fn set_stage_name(self, input: Option<String>) -> Self
pub fn set_stage_name(self, input: Option<String>) -> Self
The name of the Stage that the SDK will use.
sourcepub fn get_stage_name(&self) -> &Option<String>
pub fn get_stage_name(&self) -> &Option<String>
The name of the Stage that the SDK will use.
sourcepub fn sdk_type(self, input: impl Into<String>) -> Self
pub fn sdk_type(self, input: impl Into<String>) -> Self
The language for the generated SDK. Currently java, javascript, android, objectivec (for iOS), swift (for iOS), and ruby are supported.
sourcepub fn set_sdk_type(self, input: Option<String>) -> Self
pub fn set_sdk_type(self, input: Option<String>) -> Self
The language for the generated SDK. Currently java, javascript, android, objectivec (for iOS), swift (for iOS), and ruby are supported.
sourcepub fn get_sdk_type(&self) -> &Option<String>
pub fn get_sdk_type(&self) -> &Option<String>
The language for the generated SDK. Currently java, javascript, android, objectivec (for iOS), swift (for iOS), and ruby are supported.
sourcepub fn parameters(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn parameters(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to parameters.
To override the contents of this collection use set_parameters.
A string-to-string key-value map of query parameters sdkType-dependent properties of the SDK. For sdkType of objectivec or swift, a parameter named classPrefix is required. For sdkType of android, parameters named groupId, artifactId, artifactVersion, and invokerPackage are required. For sdkType of java, parameters named serviceName and javaPackageName are required.
sourcepub fn set_parameters(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_parameters(self, input: Option<HashMap<String, String>>) -> Self
A string-to-string key-value map of query parameters sdkType-dependent properties of the SDK. For sdkType of objectivec or swift, a parameter named classPrefix is required. For sdkType of android, parameters named groupId, artifactId, artifactVersion, and invokerPackage are required. For sdkType of java, parameters named serviceName and javaPackageName are required.
sourcepub fn get_parameters(&self) -> &Option<HashMap<String, String>>
pub fn get_parameters(&self) -> &Option<HashMap<String, String>>
A string-to-string key-value map of query parameters sdkType-dependent properties of the SDK. For sdkType of objectivec or swift, a parameter named classPrefix is required. For sdkType of android, parameters named groupId, artifactId, artifactVersion, and invokerPackage are required. For sdkType of java, parameters named serviceName and javaPackageName are required.
sourcepub fn build(self) -> Result<GetSdkInput, BuildError>
pub fn build(self) -> Result<GetSdkInput, BuildError>
Consumes the builder and constructs a GetSdkInput.
source§impl GetSdkInputBuilder
impl GetSdkInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetSdkOutput, SdkError<GetSdkError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetSdkOutput, SdkError<GetSdkError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetSdkInputBuilder
impl Clone for GetSdkInputBuilder
source§fn clone(&self) -> GetSdkInputBuilder
fn clone(&self) -> GetSdkInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetSdkInputBuilder
impl Debug for GetSdkInputBuilder
source§impl Default for GetSdkInputBuilder
impl Default for GetSdkInputBuilder
source§fn default() -> GetSdkInputBuilder
fn default() -> GetSdkInputBuilder
source§impl PartialEq for GetSdkInputBuilder
impl PartialEq for GetSdkInputBuilder
source§fn eq(&self, other: &GetSdkInputBuilder) -> bool
fn eq(&self, other: &GetSdkInputBuilder) -> bool
self and other values to be equal, and is used
by ==.