You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: _permission.rs
    path of file: ./repos/aws-sdk-rust/sdk/acmpca/src/types
    
    the code of the file until where you have to start completion: // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.

/// <p>Permissions designate which private CA actions can be performed by an Amazon Web Services service or entity. In order for ACM to automatically renew private certificates, you must give the ACM servic
    
    pub fn build(self) -> crate::types::Permission {
        crate::types::Permission {
            certificate_authority_arn: self.certificate_authority_arn,
            created_at: self.created_at,
            principal: self.principal,
            source_account: self.source_account,
            actions: self.actions,
            policy: self.policy,
        }
    }