Struct aws_sdk_signer::operation::revoke_signing_profile::builders::RevokeSigningProfileInputBuilder
source · #[non_exhaustive]pub struct RevokeSigningProfileInputBuilder { /* private fields */ }
Expand description
A builder for RevokeSigningProfileInput
.
Implementations§
source§impl RevokeSigningProfileInputBuilder
impl RevokeSigningProfileInputBuilder
sourcepub fn profile_name(self, input: impl Into<String>) -> Self
pub fn profile_name(self, input: impl Into<String>) -> Self
The name of the signing profile to be revoked.
This field is required.sourcepub fn set_profile_name(self, input: Option<String>) -> Self
pub fn set_profile_name(self, input: Option<String>) -> Self
The name of the signing profile to be revoked.
sourcepub fn get_profile_name(&self) -> &Option<String>
pub fn get_profile_name(&self) -> &Option<String>
The name of the signing profile to be revoked.
sourcepub fn profile_version(self, input: impl Into<String>) -> Self
pub fn profile_version(self, input: impl Into<String>) -> Self
The version of the signing profile to be revoked.
This field is required.sourcepub fn set_profile_version(self, input: Option<String>) -> Self
pub fn set_profile_version(self, input: Option<String>) -> Self
The version of the signing profile to be revoked.
sourcepub fn get_profile_version(&self) -> &Option<String>
pub fn get_profile_version(&self) -> &Option<String>
The version of the signing profile to be revoked.
sourcepub fn reason(self, input: impl Into<String>) -> Self
pub fn reason(self, input: impl Into<String>) -> Self
The reason for revoking a signing profile.
This field is required.sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
The reason for revoking a signing profile.
sourcepub fn get_reason(&self) -> &Option<String>
pub fn get_reason(&self) -> &Option<String>
The reason for revoking a signing profile.
sourcepub fn effective_time(self, input: DateTime) -> Self
pub fn effective_time(self, input: DateTime) -> Self
A timestamp for when revocation of a Signing Profile should become effective. Signatures generated using the signing profile after this timestamp are not trusted.
This field is required.sourcepub fn set_effective_time(self, input: Option<DateTime>) -> Self
pub fn set_effective_time(self, input: Option<DateTime>) -> Self
A timestamp for when revocation of a Signing Profile should become effective. Signatures generated using the signing profile after this timestamp are not trusted.
sourcepub fn get_effective_time(&self) -> &Option<DateTime>
pub fn get_effective_time(&self) -> &Option<DateTime>
A timestamp for when revocation of a Signing Profile should become effective. Signatures generated using the signing profile after this timestamp are not trusted.
sourcepub fn build(self) -> Result<RevokeSigningProfileInput, BuildError>
pub fn build(self) -> Result<RevokeSigningProfileInput, BuildError>
Consumes the builder and constructs a RevokeSigningProfileInput
.
source§impl RevokeSigningProfileInputBuilder
impl RevokeSigningProfileInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RevokeSigningProfileOutput, SdkError<RevokeSigningProfileError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RevokeSigningProfileOutput, SdkError<RevokeSigningProfileError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RevokeSigningProfileInputBuilder
impl Clone for RevokeSigningProfileInputBuilder
source§fn clone(&self) -> RevokeSigningProfileInputBuilder
fn clone(&self) -> RevokeSigningProfileInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RevokeSigningProfileInputBuilder
impl Default for RevokeSigningProfileInputBuilder
source§fn default() -> RevokeSigningProfileInputBuilder
fn default() -> RevokeSigningProfileInputBuilder
source§impl PartialEq for RevokeSigningProfileInputBuilder
impl PartialEq for RevokeSigningProfileInputBuilder
source§fn eq(&self, other: &RevokeSigningProfileInputBuilder) -> bool
fn eq(&self, other: &RevokeSigningProfileInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RevokeSigningProfileInputBuilder
Auto Trait Implementations§
impl Freeze for RevokeSigningProfileInputBuilder
impl RefUnwindSafe for RevokeSigningProfileInputBuilder
impl Send for RevokeSigningProfileInputBuilder
impl Sync for RevokeSigningProfileInputBuilder
impl Unpin for RevokeSigningProfileInputBuilder
impl UnwindSafe for RevokeSigningProfileInputBuilder
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