pub struct UpdateHostKeyFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateHostKey.
Updates the description for the host key that's specified by the ServerId and HostKeyId parameters.
Implementations§
source§impl UpdateHostKeyFluentBuilder
impl UpdateHostKeyFluentBuilder
sourcepub fn as_input(&self) -> &UpdateHostKeyInputBuilder
pub fn as_input(&self) -> &UpdateHostKeyInputBuilder
Access the UpdateHostKey as a reference.
sourcepub async fn send(
self
) -> Result<UpdateHostKeyOutput, SdkError<UpdateHostKeyError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateHostKeyOutput, SdkError<UpdateHostKeyError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateHostKeyOutput, UpdateHostKeyError, Self>, SdkError<UpdateHostKeyError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateHostKeyOutput, UpdateHostKeyError, Self>, SdkError<UpdateHostKeyError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn server_id(self, input: impl Into<String>) -> Self
pub fn server_id(self, input: impl Into<String>) -> Self
The identifier of the server that contains the host key that you are updating.
sourcepub fn set_server_id(self, input: Option<String>) -> Self
pub fn set_server_id(self, input: Option<String>) -> Self
The identifier of the server that contains the host key that you are updating.
sourcepub fn get_server_id(&self) -> &Option<String>
pub fn get_server_id(&self) -> &Option<String>
The identifier of the server that contains the host key that you are updating.
sourcepub fn host_key_id(self, input: impl Into<String>) -> Self
pub fn host_key_id(self, input: impl Into<String>) -> Self
The identifier of the host key that you are updating.
sourcepub fn set_host_key_id(self, input: Option<String>) -> Self
pub fn set_host_key_id(self, input: Option<String>) -> Self
The identifier of the host key that you are updating.
sourcepub fn get_host_key_id(&self) -> &Option<String>
pub fn get_host_key_id(&self) -> &Option<String>
The identifier of the host key that you are updating.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
An updated description for the host key.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
An updated description for the host key.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
An updated description for the host key.
Trait Implementations§
source§impl Clone for UpdateHostKeyFluentBuilder
impl Clone for UpdateHostKeyFluentBuilder
source§fn clone(&self) -> UpdateHostKeyFluentBuilder
fn clone(&self) -> UpdateHostKeyFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more