Struct aws_sdk_iam::types::builders::ServerCertificateBuilder
source · #[non_exhaustive]pub struct ServerCertificateBuilder { /* private fields */ }Expand description
A builder for ServerCertificate.
Implementations§
source§impl ServerCertificateBuilder
impl ServerCertificateBuilder
sourcepub fn server_certificate_metadata(
self,
input: ServerCertificateMetadata
) -> Self
pub fn server_certificate_metadata( self, input: ServerCertificateMetadata ) -> Self
The meta information of the server certificate, such as its name, path, ID, and ARN.
This field is required.sourcepub fn set_server_certificate_metadata(
self,
input: Option<ServerCertificateMetadata>
) -> Self
pub fn set_server_certificate_metadata( self, input: Option<ServerCertificateMetadata> ) -> Self
The meta information of the server certificate, such as its name, path, ID, and ARN.
sourcepub fn get_server_certificate_metadata(
&self
) -> &Option<ServerCertificateMetadata>
pub fn get_server_certificate_metadata( &self ) -> &Option<ServerCertificateMetadata>
The meta information of the server certificate, such as its name, path, ID, and ARN.
sourcepub fn certificate_body(self, input: impl Into<String>) -> Self
pub fn certificate_body(self, input: impl Into<String>) -> Self
The contents of the public key certificate.
This field is required.sourcepub fn set_certificate_body(self, input: Option<String>) -> Self
pub fn set_certificate_body(self, input: Option<String>) -> Self
The contents of the public key certificate.
sourcepub fn get_certificate_body(&self) -> &Option<String>
pub fn get_certificate_body(&self) -> &Option<String>
The contents of the public key certificate.
sourcepub fn certificate_chain(self, input: impl Into<String>) -> Self
pub fn certificate_chain(self, input: impl Into<String>) -> Self
The contents of the public key certificate chain.
sourcepub fn set_certificate_chain(self, input: Option<String>) -> Self
pub fn set_certificate_chain(self, input: Option<String>) -> Self
The contents of the public key certificate chain.
sourcepub fn get_certificate_chain(&self) -> &Option<String>
pub fn get_certificate_chain(&self) -> &Option<String>
The contents of the public key certificate chain.
Appends an item to tags.
To override the contents of this collection use set_tags.
A list of tags that are attached to the server certificate. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
A list of tags that are attached to the server certificate. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
A list of tags that are attached to the server certificate. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
sourcepub fn build(self) -> Result<ServerCertificate, BuildError>
pub fn build(self) -> Result<ServerCertificate, BuildError>
Consumes the builder and constructs a ServerCertificate.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ServerCertificateBuilder
impl Clone for ServerCertificateBuilder
source§fn clone(&self) -> ServerCertificateBuilder
fn clone(&self) -> ServerCertificateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ServerCertificateBuilder
impl Debug for ServerCertificateBuilder
source§impl Default for ServerCertificateBuilder
impl Default for ServerCertificateBuilder
source§fn default() -> ServerCertificateBuilder
fn default() -> ServerCertificateBuilder
source§impl PartialEq for ServerCertificateBuilder
impl PartialEq for ServerCertificateBuilder
source§fn eq(&self, other: &ServerCertificateBuilder) -> bool
fn eq(&self, other: &ServerCertificateBuilder) -> bool
self and other values to be equal, and is used
by ==.