Struct aws_sdk_cloudfront::operation::update_public_key::builders::UpdatePublicKeyFluentBuilder
source · pub struct UpdatePublicKeyFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdatePublicKey
.
Update public key information. Note that the only value you can change is the comment.
Implementations§
source§impl UpdatePublicKeyFluentBuilder
impl UpdatePublicKeyFluentBuilder
sourcepub fn as_input(&self) -> &UpdatePublicKeyInputBuilder
pub fn as_input(&self) -> &UpdatePublicKeyInputBuilder
Access the UpdatePublicKey as a reference.
sourcepub async fn send(
self
) -> Result<UpdatePublicKeyOutput, SdkError<UpdatePublicKeyError, HttpResponse>>
pub async fn send( self ) -> Result<UpdatePublicKeyOutput, SdkError<UpdatePublicKeyError, 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 fn customize(
self
) -> CustomizableOperation<UpdatePublicKeyOutput, UpdatePublicKeyError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdatePublicKeyOutput, UpdatePublicKeyError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn public_key_config(self, input: PublicKeyConfig) -> Self
pub fn public_key_config(self, input: PublicKeyConfig) -> Self
A public key configuration.
sourcepub fn set_public_key_config(self, input: Option<PublicKeyConfig>) -> Self
pub fn set_public_key_config(self, input: Option<PublicKeyConfig>) -> Self
A public key configuration.
sourcepub fn get_public_key_config(&self) -> &Option<PublicKeyConfig>
pub fn get_public_key_config(&self) -> &Option<PublicKeyConfig>
A public key configuration.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the public key that you are updating.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the public key that you are updating.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The identifier of the public key that you are updating.
sourcepub fn if_match(self, input: impl Into<String>) -> Self
pub fn if_match(self, input: impl Into<String>) -> Self
The value of the ETag
header that you received when retrieving the public key to update. For example: E2QWRUHAPOMQZL
.
sourcepub fn set_if_match(self, input: Option<String>) -> Self
pub fn set_if_match(self, input: Option<String>) -> Self
The value of the ETag
header that you received when retrieving the public key to update. For example: E2QWRUHAPOMQZL
.
sourcepub fn get_if_match(&self) -> &Option<String>
pub fn get_if_match(&self) -> &Option<String>
The value of the ETag
header that you received when retrieving the public key to update. For example: E2QWRUHAPOMQZL
.
Trait Implementations§
source§impl Clone for UpdatePublicKeyFluentBuilder
impl Clone for UpdatePublicKeyFluentBuilder
source§fn clone(&self) -> UpdatePublicKeyFluentBuilder
fn clone(&self) -> UpdatePublicKeyFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more