Struct aws_sdk_workspacesweb::model::certificate::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Certificate
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn thumbprint(self, input: impl Into<String>) -> Self
pub fn thumbprint(self, input: impl Into<String>) -> Self
A hexadecimal identifier for the certificate.
sourcepub fn set_thumbprint(self, input: Option<String>) -> Self
pub fn set_thumbprint(self, input: Option<String>) -> Self
A hexadecimal identifier for the certificate.
sourcepub fn set_subject(self, input: Option<String>) -> Self
pub fn set_subject(self, input: Option<String>) -> Self
The entity the certificate belongs to.
sourcepub fn set_issuer(self, input: Option<String>) -> Self
pub fn set_issuer(self, input: Option<String>) -> Self
The entity that issued the certificate.
sourcepub fn not_valid_before(self, input: DateTime) -> Self
pub fn not_valid_before(self, input: DateTime) -> Self
The certificate is not valid before this date.
sourcepub fn set_not_valid_before(self, input: Option<DateTime>) -> Self
pub fn set_not_valid_before(self, input: Option<DateTime>) -> Self
The certificate is not valid before this date.
sourcepub fn not_valid_after(self, input: DateTime) -> Self
pub fn not_valid_after(self, input: DateTime) -> Self
The certificate is not valid after this date.
sourcepub fn set_not_valid_after(self, input: Option<DateTime>) -> Self
pub fn set_not_valid_after(self, input: Option<DateTime>) -> Self
The certificate is not valid after this date.
sourcepub fn build(self) -> Certificate
pub fn build(self) -> Certificate
Consumes the builder and constructs a Certificate
.