#[non_exhaustive]pub struct GetDeploymentInputBuilder { /* private fields */ }Expand description
A builder for GetDeploymentInput.
Implementations§
source§impl GetDeploymentInputBuilder
impl GetDeploymentInputBuilder
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 deployment_id(self, input: impl Into<String>) -> Self
pub fn deployment_id(self, input: impl Into<String>) -> Self
The identifier of the Deployment resource to get information about.
This field is required.sourcepub fn set_deployment_id(self, input: Option<String>) -> Self
pub fn set_deployment_id(self, input: Option<String>) -> Self
The identifier of the Deployment resource to get information about.
sourcepub fn get_deployment_id(&self) -> &Option<String>
pub fn get_deployment_id(&self) -> &Option<String>
The identifier of the Deployment resource to get information about.
sourcepub fn embed(self, input: impl Into<String>) -> Self
pub fn embed(self, input: impl Into<String>) -> Self
Appends an item to embed.
To override the contents of this collection use set_embed.
A query parameter to retrieve the specified embedded resources of the returned Deployment resource in the response. In a REST API call, this embed parameter value is a list of comma-separated strings, as in GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=var1,var2. The SDK and other platform-dependent libraries might use a different format for the list. Currently, this request supports only retrieval of the embedded API summary this way. Hence, the parameter value must be a single-valued list containing only the "apisummary" string. For example, GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary.
sourcepub fn set_embed(self, input: Option<Vec<String>>) -> Self
pub fn set_embed(self, input: Option<Vec<String>>) -> Self
A query parameter to retrieve the specified embedded resources of the returned Deployment resource in the response. In a REST API call, this embed parameter value is a list of comma-separated strings, as in GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=var1,var2. The SDK and other platform-dependent libraries might use a different format for the list. Currently, this request supports only retrieval of the embedded API summary this way. Hence, the parameter value must be a single-valued list containing only the "apisummary" string. For example, GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary.
sourcepub fn get_embed(&self) -> &Option<Vec<String>>
pub fn get_embed(&self) -> &Option<Vec<String>>
A query parameter to retrieve the specified embedded resources of the returned Deployment resource in the response. In a REST API call, this embed parameter value is a list of comma-separated strings, as in GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=var1,var2. The SDK and other platform-dependent libraries might use a different format for the list. Currently, this request supports only retrieval of the embedded API summary this way. Hence, the parameter value must be a single-valued list containing only the "apisummary" string. For example, GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary.
sourcepub fn build(self) -> Result<GetDeploymentInput, BuildError>
pub fn build(self) -> Result<GetDeploymentInput, BuildError>
Consumes the builder and constructs a GetDeploymentInput.
source§impl GetDeploymentInputBuilder
impl GetDeploymentInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetDeploymentOutput, SdkError<GetDeploymentError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetDeploymentOutput, SdkError<GetDeploymentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetDeploymentInputBuilder
impl Clone for GetDeploymentInputBuilder
source§fn clone(&self) -> GetDeploymentInputBuilder
fn clone(&self) -> GetDeploymentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetDeploymentInputBuilder
impl Debug for GetDeploymentInputBuilder
source§impl Default for GetDeploymentInputBuilder
impl Default for GetDeploymentInputBuilder
source§fn default() -> GetDeploymentInputBuilder
fn default() -> GetDeploymentInputBuilder
impl StructuralPartialEq for GetDeploymentInputBuilder
Auto Trait Implementations§
impl Freeze for GetDeploymentInputBuilder
impl RefUnwindSafe for GetDeploymentInputBuilder
impl Send for GetDeploymentInputBuilder
impl Sync for GetDeploymentInputBuilder
impl Unpin for GetDeploymentInputBuilder
impl UnwindSafe for GetDeploymentInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more