Struct aws_sdk_acmpca::types::builders::GeneralNameBuilder
source · #[non_exhaustive]pub struct GeneralNameBuilder { /* private fields */ }
Expand description
A builder for GeneralName
.
Implementations§
source§impl GeneralNameBuilder
impl GeneralNameBuilder
sourcepub fn other_name(self, input: OtherName) -> Self
pub fn other_name(self, input: OtherName) -> Self
Represents GeneralName
using an OtherName
object.
sourcepub fn set_other_name(self, input: Option<OtherName>) -> Self
pub fn set_other_name(self, input: Option<OtherName>) -> Self
Represents GeneralName
using an OtherName
object.
sourcepub fn get_other_name(&self) -> &Option<OtherName>
pub fn get_other_name(&self) -> &Option<OtherName>
Represents GeneralName
using an OtherName
object.
sourcepub fn rfc822_name(self, input: impl Into<String>) -> Self
pub fn rfc822_name(self, input: impl Into<String>) -> Self
Represents GeneralName
as an RFC 822 email address.
sourcepub fn set_rfc822_name(self, input: Option<String>) -> Self
pub fn set_rfc822_name(self, input: Option<String>) -> Self
Represents GeneralName
as an RFC 822 email address.
sourcepub fn get_rfc822_name(&self) -> &Option<String>
pub fn get_rfc822_name(&self) -> &Option<String>
Represents GeneralName
as an RFC 822 email address.
sourcepub fn set_dns_name(self, input: Option<String>) -> Self
pub fn set_dns_name(self, input: Option<String>) -> Self
Represents GeneralName
as a DNS name.
sourcepub fn get_dns_name(&self) -> &Option<String>
pub fn get_dns_name(&self) -> &Option<String>
Represents GeneralName
as a DNS name.
sourcepub fn directory_name(self, input: Asn1Subject) -> Self
pub fn directory_name(self, input: Asn1Subject) -> Self
Contains information about the certificate subject. The Subject
field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The Subject
must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.
sourcepub fn set_directory_name(self, input: Option<Asn1Subject>) -> Self
pub fn set_directory_name(self, input: Option<Asn1Subject>) -> Self
Contains information about the certificate subject. The Subject
field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The Subject
must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.
sourcepub fn get_directory_name(&self) -> &Option<Asn1Subject>
pub fn get_directory_name(&self) -> &Option<Asn1Subject>
Contains information about the certificate subject. The Subject
field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The Subject
must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.
sourcepub fn edi_party_name(self, input: EdiPartyName) -> Self
pub fn edi_party_name(self, input: EdiPartyName) -> Self
Represents GeneralName
as an EdiPartyName
object.
sourcepub fn set_edi_party_name(self, input: Option<EdiPartyName>) -> Self
pub fn set_edi_party_name(self, input: Option<EdiPartyName>) -> Self
Represents GeneralName
as an EdiPartyName
object.
sourcepub fn get_edi_party_name(&self) -> &Option<EdiPartyName>
pub fn get_edi_party_name(&self) -> &Option<EdiPartyName>
Represents GeneralName
as an EdiPartyName
object.
sourcepub fn uniform_resource_identifier(self, input: impl Into<String>) -> Self
pub fn uniform_resource_identifier(self, input: impl Into<String>) -> Self
Represents GeneralName
as a URI.
sourcepub fn set_uniform_resource_identifier(self, input: Option<String>) -> Self
pub fn set_uniform_resource_identifier(self, input: Option<String>) -> Self
Represents GeneralName
as a URI.
sourcepub fn get_uniform_resource_identifier(&self) -> &Option<String>
pub fn get_uniform_resource_identifier(&self) -> &Option<String>
Represents GeneralName
as a URI.
sourcepub fn ip_address(self, input: impl Into<String>) -> Self
pub fn ip_address(self, input: impl Into<String>) -> Self
Represents GeneralName
as an IPv4 or IPv6 address.
sourcepub fn set_ip_address(self, input: Option<String>) -> Self
pub fn set_ip_address(self, input: Option<String>) -> Self
Represents GeneralName
as an IPv4 or IPv6 address.
sourcepub fn get_ip_address(&self) -> &Option<String>
pub fn get_ip_address(&self) -> &Option<String>
Represents GeneralName
as an IPv4 or IPv6 address.
sourcepub fn registered_id(self, input: impl Into<String>) -> Self
pub fn registered_id(self, input: impl Into<String>) -> Self
Represents GeneralName
as an object identifier (OID).
sourcepub fn set_registered_id(self, input: Option<String>) -> Self
pub fn set_registered_id(self, input: Option<String>) -> Self
Represents GeneralName
as an object identifier (OID).
sourcepub fn get_registered_id(&self) -> &Option<String>
pub fn get_registered_id(&self) -> &Option<String>
Represents GeneralName
as an object identifier (OID).
sourcepub fn build(self) -> GeneralName
pub fn build(self) -> GeneralName
Consumes the builder and constructs a GeneralName
.
Trait Implementations§
source§impl Clone for GeneralNameBuilder
impl Clone for GeneralNameBuilder
source§fn clone(&self) -> GeneralNameBuilder
fn clone(&self) -> GeneralNameBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GeneralNameBuilder
impl Debug for GeneralNameBuilder
source§impl Default for GeneralNameBuilder
impl Default for GeneralNameBuilder
source§fn default() -> GeneralNameBuilder
fn default() -> GeneralNameBuilder
source§impl PartialEq for GeneralNameBuilder
impl PartialEq for GeneralNameBuilder
source§fn eq(&self, other: &GeneralNameBuilder) -> bool
fn eq(&self, other: &GeneralNameBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GeneralNameBuilder
Auto Trait Implementations§
impl Freeze for GeneralNameBuilder
impl RefUnwindSafe for GeneralNameBuilder
impl Send for GeneralNameBuilder
impl Sync for GeneralNameBuilder
impl Unpin for GeneralNameBuilder
impl UnwindSafe for GeneralNameBuilder
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