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 ==.impl StructuralPartialEq for ServerCertificateBuilder
Auto Trait Implementations§
impl Freeze for ServerCertificateBuilder
impl RefUnwindSafe for ServerCertificateBuilder
impl Send for ServerCertificateBuilder
impl Sync for ServerCertificateBuilder
impl Unpin for ServerCertificateBuilder
impl UnwindSafe for ServerCertificateBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more