#[non_exhaustive]pub struct RevocationContentBuilder { /* private fields */ }
Expand description
A builder for RevocationContent
.
Implementations§
source§impl RevocationContentBuilder
impl RevocationContentBuilder
sourcepub fn s3_bucket(self, input: impl Into<String>) -> Self
pub fn s3_bucket(self, input: impl Into<String>) -> Self
The Amazon S3 bucket for the revocation file.
sourcepub fn set_s3_bucket(self, input: Option<String>) -> Self
pub fn set_s3_bucket(self, input: Option<String>) -> Self
The Amazon S3 bucket for the revocation file.
sourcepub fn get_s3_bucket(&self) -> &Option<String>
pub fn get_s3_bucket(&self) -> &Option<String>
The Amazon S3 bucket for the revocation file.
sourcepub fn s3_key(self, input: impl Into<String>) -> Self
pub fn s3_key(self, input: impl Into<String>) -> Self
The Amazon S3 path for the revocation file.
sourcepub fn set_s3_key(self, input: Option<String>) -> Self
pub fn set_s3_key(self, input: Option<String>) -> Self
The Amazon S3 path for the revocation file.
sourcepub fn get_s3_key(&self) -> &Option<String>
pub fn get_s3_key(&self) -> &Option<String>
The Amazon S3 path for the revocation file.
sourcepub fn s3_object_version(self, input: impl Into<String>) -> Self
pub fn s3_object_version(self, input: impl Into<String>) -> Self
The Amazon S3 object version of the revocation file.
sourcepub fn set_s3_object_version(self, input: Option<String>) -> Self
pub fn set_s3_object_version(self, input: Option<String>) -> Self
The Amazon S3 object version of the revocation file.
sourcepub fn get_s3_object_version(&self) -> &Option<String>
pub fn get_s3_object_version(&self) -> &Option<String>
The Amazon S3 object version of the revocation file.
sourcepub fn revocation_type(self, input: RevocationType) -> Self
pub fn revocation_type(self, input: RevocationType) -> Self
The type of revocation file.
sourcepub fn set_revocation_type(self, input: Option<RevocationType>) -> Self
pub fn set_revocation_type(self, input: Option<RevocationType>) -> Self
The type of revocation file.
sourcepub fn get_revocation_type(&self) -> &Option<RevocationType>
pub fn get_revocation_type(&self) -> &Option<RevocationType>
The type of revocation file.
sourcepub fn build(self) -> RevocationContent
pub fn build(self) -> RevocationContent
Consumes the builder and constructs a RevocationContent
.
Trait Implementations§
source§impl Clone for RevocationContentBuilder
impl Clone for RevocationContentBuilder
source§fn clone(&self) -> RevocationContentBuilder
fn clone(&self) -> RevocationContentBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RevocationContentBuilder
impl Debug for RevocationContentBuilder
source§impl Default for RevocationContentBuilder
impl Default for RevocationContentBuilder
source§fn default() -> RevocationContentBuilder
fn default() -> RevocationContentBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RevocationContentBuilder
impl PartialEq for RevocationContentBuilder
source§fn eq(&self, other: &RevocationContentBuilder) -> bool
fn eq(&self, other: &RevocationContentBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RevocationContentBuilder
Auto Trait Implementations§
impl Freeze for RevocationContentBuilder
impl RefUnwindSafe for RevocationContentBuilder
impl Send for RevocationContentBuilder
impl Sync for RevocationContentBuilder
impl Unpin for RevocationContentBuilder
impl UnwindSafe for RevocationContentBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.