Struct aws_sdk_iam::types::ServerCertificate
source · #[non_exhaustive]pub struct ServerCertificate {
pub server_certificate_metadata: Option<ServerCertificateMetadata>,
pub certificate_body: String,
pub certificate_chain: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Contains information about a server certificate.
This data type is used as a response element in the GetServerCertificate
operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.server_certificate_metadata: Option<ServerCertificateMetadata>
The meta information of the server certificate, such as its name, path, ID, and ARN.
certificate_body: String
The contents of the public key certificate.
certificate_chain: Option<String>
The contents of the public key certificate chain.
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.
Implementations§
source§impl ServerCertificate
impl ServerCertificate
sourcepub fn server_certificate_metadata(&self) -> Option<&ServerCertificateMetadata>
pub fn 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) -> &str
pub fn certificate_body(&self) -> &str
The contents of the public key certificate.
sourcepub fn certificate_chain(&self) -> Option<&str>
pub fn certificate_chain(&self) -> Option<&str>
The contents of the public key certificate chain.
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl ServerCertificate
impl ServerCertificate
sourcepub fn builder() -> ServerCertificateBuilder
pub fn builder() -> ServerCertificateBuilder
Creates a new builder-style object to manufacture ServerCertificate
.
Trait Implementations§
source§impl Clone for ServerCertificate
impl Clone for ServerCertificate
source§fn clone(&self) -> ServerCertificate
fn clone(&self) -> ServerCertificate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ServerCertificate
impl Debug for ServerCertificate
source§impl PartialEq for ServerCertificate
impl PartialEq for ServerCertificate
source§fn eq(&self, other: &ServerCertificate) -> bool
fn eq(&self, other: &ServerCertificate) -> bool
self
and other
values to be equal, and is used
by ==
.