#[non_exhaustive]pub struct ServerCertificateMetadataBuilder { /* private fields */ }Expand description
A builder for ServerCertificateMetadata.
Implementations§
source§impl ServerCertificateMetadataBuilder
impl ServerCertificateMetadataBuilder
sourcepub fn path(self, input: impl Into<String>) -> Self
pub fn path(self, input: impl Into<String>) -> Self
The path to the server certificate. For more information about paths, see IAM identifiers in the IAM User Guide.
This field is required.sourcepub fn set_path(self, input: Option<String>) -> Self
pub fn set_path(self, input: Option<String>) -> Self
The path to the server certificate. For more information about paths, see IAM identifiers in the IAM User Guide.
sourcepub fn get_path(&self) -> &Option<String>
pub fn get_path(&self) -> &Option<String>
The path to the server certificate. For more information about paths, see IAM identifiers in the IAM User Guide.
sourcepub fn server_certificate_name(self, input: impl Into<String>) -> Self
pub fn server_certificate_name(self, input: impl Into<String>) -> Self
The name that identifies the server certificate.
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 that identifies the server certificate.
sourcepub fn get_server_certificate_name(&self) -> &Option<String>
pub fn get_server_certificate_name(&self) -> &Option<String>
The name that identifies the server certificate.
sourcepub fn server_certificate_id(self, input: impl Into<String>) -> Self
pub fn server_certificate_id(self, input: impl Into<String>) -> Self
The stable and unique string identifying the server certificate. For more information about IDs, see IAM identifiers in the IAM User Guide.
This field is required.sourcepub fn set_server_certificate_id(self, input: Option<String>) -> Self
pub fn set_server_certificate_id(self, input: Option<String>) -> Self
The stable and unique string identifying the server certificate. For more information about IDs, see IAM identifiers in the IAM User Guide.
sourcepub fn get_server_certificate_id(&self) -> &Option<String>
pub fn get_server_certificate_id(&self) -> &Option<String>
The stable and unique string identifying the server certificate. For more information about IDs, see IAM identifiers in the IAM User Guide.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
sourcepub fn upload_date(self, input: DateTime) -> Self
pub fn upload_date(self, input: DateTime) -> Self
The date when the server certificate was uploaded.
sourcepub fn set_upload_date(self, input: Option<DateTime>) -> Self
pub fn set_upload_date(self, input: Option<DateTime>) -> Self
The date when the server certificate was uploaded.
sourcepub fn get_upload_date(&self) -> &Option<DateTime>
pub fn get_upload_date(&self) -> &Option<DateTime>
The date when the server certificate was uploaded.
sourcepub fn expiration(self, input: DateTime) -> Self
pub fn expiration(self, input: DateTime) -> Self
The date on which the certificate is set to expire.
sourcepub fn set_expiration(self, input: Option<DateTime>) -> Self
pub fn set_expiration(self, input: Option<DateTime>) -> Self
The date on which the certificate is set to expire.
sourcepub fn get_expiration(&self) -> &Option<DateTime>
pub fn get_expiration(&self) -> &Option<DateTime>
The date on which the certificate is set to expire.
sourcepub fn build(self) -> Result<ServerCertificateMetadata, BuildError>
pub fn build(self) -> Result<ServerCertificateMetadata, BuildError>
Consumes the builder and constructs a ServerCertificateMetadata.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ServerCertificateMetadataBuilder
impl Clone for ServerCertificateMetadataBuilder
source§fn clone(&self) -> ServerCertificateMetadataBuilder
fn clone(&self) -> ServerCertificateMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ServerCertificateMetadataBuilder
impl Default for ServerCertificateMetadataBuilder
source§fn default() -> ServerCertificateMetadataBuilder
fn default() -> ServerCertificateMetadataBuilder
source§impl PartialEq for ServerCertificateMetadataBuilder
impl PartialEq for ServerCertificateMetadataBuilder
source§fn eq(&self, other: &ServerCertificateMetadataBuilder) -> bool
fn eq(&self, other: &ServerCertificateMetadataBuilder) -> bool
self and other values to be equal, and is used
by ==.