Struct aws_sdk_iam::operation::update_server_certificate::builders::UpdateServerCertificateInputBuilder
source · #[non_exhaustive]pub struct UpdateServerCertificateInputBuilder { /* private fields */ }Expand description
A builder for UpdateServerCertificateInput.
Implementations§
source§impl UpdateServerCertificateInputBuilder
impl UpdateServerCertificateInputBuilder
sourcepub fn server_certificate_name(self, input: impl Into<String>) -> Self
pub fn server_certificate_name(self, input: impl Into<String>) -> Self
The name of the server certificate that you want to update.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
This field is required.sourcepub fn set_server_certificate_name(self, input: Option<String>) -> Self
pub fn set_server_certificate_name(self, input: Option<String>) -> Self
The name of the server certificate that you want to update.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn get_server_certificate_name(&self) -> &Option<String>
pub fn get_server_certificate_name(&self) -> &Option<String>
The name of the server certificate that you want to update.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn new_path(self, input: impl Into<String>) -> Self
pub fn new_path(self, input: impl Into<String>) -> Self
The new path for the server certificate. Include this only if you are updating the server certificate's path.
This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
sourcepub fn set_new_path(self, input: Option<String>) -> Self
pub fn set_new_path(self, input: Option<String>) -> Self
The new path for the server certificate. Include this only if you are updating the server certificate's path.
This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
sourcepub fn get_new_path(&self) -> &Option<String>
pub fn get_new_path(&self) -> &Option<String>
The new path for the server certificate. Include this only if you are updating the server certificate's path.
This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
sourcepub fn new_server_certificate_name(self, input: impl Into<String>) -> Self
pub fn new_server_certificate_name(self, input: impl Into<String>) -> Self
The new name for the server certificate. Include this only if you are updating the server certificate's name. The name of the certificate cannot contain any spaces.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn set_new_server_certificate_name(self, input: Option<String>) -> Self
pub fn set_new_server_certificate_name(self, input: Option<String>) -> Self
The new name for the server certificate. Include this only if you are updating the server certificate's name. The name of the certificate cannot contain any spaces.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn get_new_server_certificate_name(&self) -> &Option<String>
pub fn get_new_server_certificate_name(&self) -> &Option<String>
The new name for the server certificate. Include this only if you are updating the server certificate's name. The name of the certificate cannot contain any spaces.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn build(self) -> Result<UpdateServerCertificateInput, BuildError>
pub fn build(self) -> Result<UpdateServerCertificateInput, BuildError>
Consumes the builder and constructs a UpdateServerCertificateInput.
source§impl UpdateServerCertificateInputBuilder
impl UpdateServerCertificateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateServerCertificateOutput, SdkError<UpdateServerCertificateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateServerCertificateOutput, SdkError<UpdateServerCertificateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateServerCertificateInputBuilder
impl Clone for UpdateServerCertificateInputBuilder
source§fn clone(&self) -> UpdateServerCertificateInputBuilder
fn clone(&self) -> UpdateServerCertificateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateServerCertificateInputBuilder
impl Default for UpdateServerCertificateInputBuilder
source§fn default() -> UpdateServerCertificateInputBuilder
fn default() -> UpdateServerCertificateInputBuilder
source§impl PartialEq for UpdateServerCertificateInputBuilder
impl PartialEq for UpdateServerCertificateInputBuilder
source§fn eq(&self, other: &UpdateServerCertificateInputBuilder) -> bool
fn eq(&self, other: &UpdateServerCertificateInputBuilder) -> bool
self and other values to be equal, and is used
by ==.