Struct aws_sdk_migrationhubstrategy::operation::get_server_details::builders::GetServerDetailsInputBuilder
source · #[non_exhaustive]pub struct GetServerDetailsInputBuilder { /* private fields */ }Expand description
A builder for GetServerDetailsInput.
Implementations§
source§impl GetServerDetailsInputBuilder
impl GetServerDetailsInputBuilder
sourcepub fn set_server_id(self, input: Option<String>) -> Self
pub fn set_server_id(self, input: Option<String>) -> Self
The ID of the server.
sourcepub fn get_server_id(&self) -> &Option<String>
pub fn get_server_id(&self) -> &Option<String>
The ID of the server.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of items to include in the response. The maximum value is 100.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of items to include in the response. The maximum value is 100.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of items to include in the response. The maximum value is 100.
sourcepub fn build(self) -> Result<GetServerDetailsInput, BuildError>
pub fn build(self) -> Result<GetServerDetailsInput, BuildError>
Consumes the builder and constructs a GetServerDetailsInput.
source§impl GetServerDetailsInputBuilder
impl GetServerDetailsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetServerDetailsOutput, SdkError<GetServerDetailsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetServerDetailsOutput, SdkError<GetServerDetailsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetServerDetailsInputBuilder
impl Clone for GetServerDetailsInputBuilder
source§fn clone(&self) -> GetServerDetailsInputBuilder
fn clone(&self) -> GetServerDetailsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetServerDetailsInputBuilder
impl Debug for GetServerDetailsInputBuilder
source§impl Default for GetServerDetailsInputBuilder
impl Default for GetServerDetailsInputBuilder
source§fn default() -> GetServerDetailsInputBuilder
fn default() -> GetServerDetailsInputBuilder
source§impl PartialEq<GetServerDetailsInputBuilder> for GetServerDetailsInputBuilder
impl PartialEq<GetServerDetailsInputBuilder> for GetServerDetailsInputBuilder
source§fn eq(&self, other: &GetServerDetailsInputBuilder) -> bool
fn eq(&self, other: &GetServerDetailsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.