Struct aws_sdk_iot::model::resource_identifier::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ResourceIdentifier
.
Implementations§
source§impl Builder
impl Builder
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 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 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 set_client_id(self, input: Option<String>) -> Self
pub fn set_client_id(self, input: Option<String>) -> Self
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 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 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 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 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 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 build(self) -> ResourceIdentifier
pub fn build(self) -> ResourceIdentifier
Consumes the builder and constructs a ResourceIdentifier
.