Struct aws_sdk_signer::types::builders::SigningPlatformBuilder
source · #[non_exhaustive]pub struct SigningPlatformBuilder { /* private fields */ }
Expand description
A builder for SigningPlatform
.
Implementations§
source§impl SigningPlatformBuilder
impl SigningPlatformBuilder
sourcepub fn platform_id(self, input: impl Into<String>) -> Self
pub fn platform_id(self, input: impl Into<String>) -> Self
The ID of a signing platform.
sourcepub fn set_platform_id(self, input: Option<String>) -> Self
pub fn set_platform_id(self, input: Option<String>) -> Self
The ID of a signing platform.
sourcepub fn get_platform_id(&self) -> &Option<String>
pub fn get_platform_id(&self) -> &Option<String>
The ID of a signing platform.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The display name of a signing platform.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The display name of a signing platform.
sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
The display name of a signing platform.
sourcepub fn partner(self, input: impl Into<String>) -> Self
pub fn partner(self, input: impl Into<String>) -> Self
Any partner entities linked to a signing platform.
sourcepub fn set_partner(self, input: Option<String>) -> Self
pub fn set_partner(self, input: Option<String>) -> Self
Any partner entities linked to a signing platform.
sourcepub fn get_partner(&self) -> &Option<String>
pub fn get_partner(&self) -> &Option<String>
Any partner entities linked to a signing platform.
sourcepub fn target(self, input: impl Into<String>) -> Self
pub fn target(self, input: impl Into<String>) -> Self
The types of targets that can be signed by a signing platform.
sourcepub fn set_target(self, input: Option<String>) -> Self
pub fn set_target(self, input: Option<String>) -> Self
The types of targets that can be signed by a signing platform.
sourcepub fn get_target(&self) -> &Option<String>
pub fn get_target(&self) -> &Option<String>
The types of targets that can be signed by a signing platform.
sourcepub fn set_category(self, input: Option<Category>) -> Self
pub fn set_category(self, input: Option<Category>) -> Self
The category of a signing platform.
sourcepub fn get_category(&self) -> &Option<Category>
pub fn get_category(&self) -> &Option<Category>
The category of a signing platform.
sourcepub fn signing_configuration(self, input: SigningConfiguration) -> Self
pub fn signing_configuration(self, input: SigningConfiguration) -> Self
The configuration of a signing platform. This includes the designated hash algorithm and encryption algorithm of a signing platform.
sourcepub fn set_signing_configuration(
self,
input: Option<SigningConfiguration>
) -> Self
pub fn set_signing_configuration( self, input: Option<SigningConfiguration> ) -> Self
The configuration of a signing platform. This includes the designated hash algorithm and encryption algorithm of a signing platform.
sourcepub fn get_signing_configuration(&self) -> &Option<SigningConfiguration>
pub fn get_signing_configuration(&self) -> &Option<SigningConfiguration>
The configuration of a signing platform. This includes the designated hash algorithm and encryption algorithm of a signing platform.
sourcepub fn signing_image_format(self, input: SigningImageFormat) -> Self
pub fn signing_image_format(self, input: SigningImageFormat) -> Self
The image format of a AWS Signer platform or profile.
sourcepub fn set_signing_image_format(self, input: Option<SigningImageFormat>) -> Self
pub fn set_signing_image_format(self, input: Option<SigningImageFormat>) -> Self
The image format of a AWS Signer platform or profile.
sourcepub fn get_signing_image_format(&self) -> &Option<SigningImageFormat>
pub fn get_signing_image_format(&self) -> &Option<SigningImageFormat>
The image format of a AWS Signer platform or profile.
sourcepub fn max_size_in_mb(self, input: i32) -> Self
pub fn max_size_in_mb(self, input: i32) -> Self
The maximum size (in MB) of code that can be signed by a signing platform.
sourcepub fn set_max_size_in_mb(self, input: Option<i32>) -> Self
pub fn set_max_size_in_mb(self, input: Option<i32>) -> Self
The maximum size (in MB) of code that can be signed by a signing platform.
sourcepub fn get_max_size_in_mb(&self) -> &Option<i32>
pub fn get_max_size_in_mb(&self) -> &Option<i32>
The maximum size (in MB) of code that can be signed by a signing platform.
sourcepub fn revocation_supported(self, input: bool) -> Self
pub fn revocation_supported(self, input: bool) -> Self
Indicates whether revocation is supported for the platform.
sourcepub fn set_revocation_supported(self, input: Option<bool>) -> Self
pub fn set_revocation_supported(self, input: Option<bool>) -> Self
Indicates whether revocation is supported for the platform.
sourcepub fn get_revocation_supported(&self) -> &Option<bool>
pub fn get_revocation_supported(&self) -> &Option<bool>
Indicates whether revocation is supported for the platform.
sourcepub fn build(self) -> SigningPlatform
pub fn build(self) -> SigningPlatform
Consumes the builder and constructs a SigningPlatform
.
Trait Implementations§
source§impl Clone for SigningPlatformBuilder
impl Clone for SigningPlatformBuilder
source§fn clone(&self) -> SigningPlatformBuilder
fn clone(&self) -> SigningPlatformBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SigningPlatformBuilder
impl Debug for SigningPlatformBuilder
source§impl Default for SigningPlatformBuilder
impl Default for SigningPlatformBuilder
source§fn default() -> SigningPlatformBuilder
fn default() -> SigningPlatformBuilder
source§impl PartialEq for SigningPlatformBuilder
impl PartialEq for SigningPlatformBuilder
source§fn eq(&self, other: &SigningPlatformBuilder) -> bool
fn eq(&self, other: &SigningPlatformBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SigningPlatformBuilder
Auto Trait Implementations§
impl Freeze for SigningPlatformBuilder
impl RefUnwindSafe for SigningPlatformBuilder
impl Send for SigningPlatformBuilder
impl Sync for SigningPlatformBuilder
impl Unpin for SigningPlatformBuilder
impl UnwindSafe for SigningPlatformBuilder
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