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
source§impl PartialEq for ResourceIdentifierBuilder
impl PartialEq for ResourceIdentifierBuilder
source§fn eq(&self, other: &ResourceIdentifierBuilder) -> bool
fn eq(&self, other: &ResourceIdentifierBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.