#[non_exhaustive]pub struct AuthorizationBuilder { /* private fields */ }
Expand description
A builder for Authorization
.
Implementations§
source§impl AuthorizationBuilder
impl AuthorizationBuilder
sourcepub fn cdn_identifier_secret(self, input: impl Into<String>) -> Self
pub fn cdn_identifier_secret(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization. This field is required.
sourcepub fn set_cdn_identifier_secret(self, input: Option<String>) -> Self
pub fn set_cdn_identifier_secret(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
sourcepub fn get_cdn_identifier_secret(&self) -> &Option<String>
pub fn get_cdn_identifier_secret(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
sourcepub fn secrets_role_arn(self, input: impl Into<String>) -> Self
pub fn secrets_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager. This field is required.
sourcepub fn set_secrets_role_arn(self, input: Option<String>) -> Self
pub fn set_secrets_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
sourcepub fn get_secrets_role_arn(&self) -> &Option<String>
pub fn get_secrets_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
sourcepub fn build(self) -> Authorization
pub fn build(self) -> Authorization
Consumes the builder and constructs a Authorization
.
Trait Implementations§
source§impl Clone for AuthorizationBuilder
impl Clone for AuthorizationBuilder
source§fn clone(&self) -> AuthorizationBuilder
fn clone(&self) -> AuthorizationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AuthorizationBuilder
impl Debug for AuthorizationBuilder
source§impl Default for AuthorizationBuilder
impl Default for AuthorizationBuilder
source§fn default() -> AuthorizationBuilder
fn default() -> AuthorizationBuilder
source§impl PartialEq for AuthorizationBuilder
impl PartialEq for AuthorizationBuilder
source§fn eq(&self, other: &AuthorizationBuilder) -> bool
fn eq(&self, other: &AuthorizationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AuthorizationBuilder
Auto Trait Implementations§
impl Freeze for AuthorizationBuilder
impl RefUnwindSafe for AuthorizationBuilder
impl Send for AuthorizationBuilder
impl Sync for AuthorizationBuilder
impl Unpin for AuthorizationBuilder
impl UnwindSafe for AuthorizationBuilder
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