Struct aws_sdk_iot::types::builders::ResourceIdentifierBuilder
source · #[non_exhaustive]pub struct ResourceIdentifierBuilder { /* private fields */ }
Expand description
A builder for ResourceIdentifier
.
Implementations§
source§impl ResourceIdentifierBuilder
impl ResourceIdentifierBuilder
sourcepub fn device_certificate_id(self, input: impl Into<String>) -> Self
pub fn device_certificate_id(self, input: impl Into<String>) -> Self
The ID of the certificate attached to the resource.
sourcepub fn set_device_certificate_id(self, input: Option<String>) -> Self
pub fn set_device_certificate_id(self, input: Option<String>) -> Self
The ID of the certificate attached to the resource.
sourcepub fn get_device_certificate_id(&self) -> &Option<String>
pub fn get_device_certificate_id(&self) -> &Option<String>
The ID of the certificate attached to the resource.
sourcepub fn ca_certificate_id(self, input: impl Into<String>) -> Self
pub fn ca_certificate_id(self, input: impl Into<String>) -> Self
The ID of the CA certificate used to authorize the certificate.
sourcepub fn set_ca_certificate_id(self, input: Option<String>) -> Self
pub fn set_ca_certificate_id(self, input: Option<String>) -> Self
The ID of the CA certificate used to authorize the certificate.
sourcepub fn get_ca_certificate_id(&self) -> &Option<String>
pub fn get_ca_certificate_id(&self) -> &Option<String>
The ID of the CA certificate used to authorize the certificate.
sourcepub fn cognito_identity_pool_id(self, input: impl Into<String>) -> Self
pub fn cognito_identity_pool_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Cognito identity pool.
sourcepub fn set_cognito_identity_pool_id(self, input: Option<String>) -> Self
pub fn set_cognito_identity_pool_id(self, input: Option<String>) -> Self
The ID of the Amazon Cognito identity pool.
sourcepub fn get_cognito_identity_pool_id(&self) -> &Option<String>
pub fn get_cognito_identity_pool_id(&self) -> &Option<String>
The ID of the Amazon Cognito identity pool.
sourcepub fn set_client_id(self, input: Option<String>) -> Self
pub fn set_client_id(self, input: Option<String>) -> Self
The client ID.
sourcepub fn get_client_id(&self) -> &Option<String>
pub fn get_client_id(&self) -> &Option<String>
The client ID.
sourcepub fn policy_version_identifier(self, input: PolicyVersionIdentifier) -> Self
pub fn policy_version_identifier(self, input: PolicyVersionIdentifier) -> Self
The version of the policy associated with the resource.
sourcepub fn set_policy_version_identifier(
self,
input: Option<PolicyVersionIdentifier>,
) -> Self
pub fn set_policy_version_identifier( self, input: Option<PolicyVersionIdentifier>, ) -> Self
The version of the policy associated with the resource.
sourcepub fn get_policy_version_identifier(&self) -> &Option<PolicyVersionIdentifier>
pub fn get_policy_version_identifier(&self) -> &Option<PolicyVersionIdentifier>
The version of the policy associated with the resource.
sourcepub fn account(self, input: impl Into<String>) -> Self
pub fn account(self, input: impl Into<String>) -> Self
The account with which the resource is associated.
sourcepub fn set_account(self, input: Option<String>) -> Self
pub fn set_account(self, input: Option<String>) -> Self
The account with which the resource is associated.
sourcepub fn get_account(&self) -> &Option<String>
pub fn get_account(&self) -> &Option<String>
The account with which the resource is associated.
sourcepub fn iam_role_arn(self, input: impl Into<String>) -> Self
pub fn iam_role_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM role that has overly permissive actions.
sourcepub fn set_iam_role_arn(self, input: Option<String>) -> Self
pub fn set_iam_role_arn(self, input: Option<String>) -> Self
The ARN of the IAM role that has overly permissive actions.
sourcepub fn get_iam_role_arn(&self) -> &Option<String>
pub fn get_iam_role_arn(&self) -> &Option<String>
The ARN of the IAM role that has overly permissive actions.
sourcepub fn role_alias_arn(self, input: impl Into<String>) -> Self
pub fn role_alias_arn(self, input: impl Into<String>) -> Self
The ARN of the role alias that has overly permissive actions.
sourcepub fn set_role_alias_arn(self, input: Option<String>) -> Self
pub fn set_role_alias_arn(self, input: Option<String>) -> Self
The ARN of the role alias that has overly permissive actions.
sourcepub fn get_role_alias_arn(&self) -> &Option<String>
pub fn get_role_alias_arn(&self) -> &Option<String>
The ARN of the role alias that has overly permissive actions.
sourcepub fn issuer_certificate_identifier(
self,
input: IssuerCertificateIdentifier,
) -> Self
pub fn issuer_certificate_identifier( self, input: IssuerCertificateIdentifier, ) -> Self
The issuer certificate identifier.
sourcepub fn set_issuer_certificate_identifier(
self,
input: Option<IssuerCertificateIdentifier>,
) -> Self
pub fn set_issuer_certificate_identifier( self, input: Option<IssuerCertificateIdentifier>, ) -> Self
The issuer certificate identifier.
sourcepub fn get_issuer_certificate_identifier(
&self,
) -> &Option<IssuerCertificateIdentifier>
pub fn get_issuer_certificate_identifier( &self, ) -> &Option<IssuerCertificateIdentifier>
The issuer certificate identifier.
sourcepub fn device_certificate_arn(self, input: impl Into<String>) -> Self
pub fn device_certificate_arn(self, input: impl Into<String>) -> Self
The ARN of the identified device certificate.
sourcepub fn set_device_certificate_arn(self, input: Option<String>) -> Self
pub fn set_device_certificate_arn(self, input: Option<String>) -> Self
The ARN of the identified device certificate.
sourcepub fn get_device_certificate_arn(&self) -> &Option<String>
pub fn get_device_certificate_arn(&self) -> &Option<String>
The ARN of the identified device certificate.
sourcepub fn build(self) -> ResourceIdentifier
pub fn build(self) -> ResourceIdentifier
Consumes the builder and constructs a ResourceIdentifier
.
Trait Implementations§
source§impl Clone for ResourceIdentifierBuilder
impl Clone for ResourceIdentifierBuilder
source§fn clone(&self) -> ResourceIdentifierBuilder
fn clone(&self) -> ResourceIdentifierBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResourceIdentifierBuilder
impl Debug for ResourceIdentifierBuilder
source§impl Default for ResourceIdentifierBuilder
impl Default for ResourceIdentifierBuilder
source§fn default() -> ResourceIdentifierBuilder
fn default() -> ResourceIdentifierBuilder
impl StructuralPartialEq for ResourceIdentifierBuilder
Auto Trait Implementations§
impl Freeze for ResourceIdentifierBuilder
impl RefUnwindSafe for ResourceIdentifierBuilder
impl Send for ResourceIdentifierBuilder
impl Sync for ResourceIdentifierBuilder
impl Unpin for ResourceIdentifierBuilder
impl UnwindSafe for ResourceIdentifierBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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