public CreatePermissionRequest withPrincipal(String principal) {
        setPrincipal(principal);
        return this;
    }
<p>
The Amazon Web Services service or identity that receives the permission. At this time, the only valid principal
is <code>acm.amazonaws.com</code>.
</p>

@param principal
       The Amazon Web Services service or identity that receives the permission. At this time, the only valid
       principal is <code>acm.amazonaws.com</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-acmpca/src/main/java/com/amazonaws/services/acmpca/model/CreatePermissionRequest.java