public CreateAccountSubscriptionRequest withRealm(String realm) {
        setRealm(realm);
        return this;
    }
<p>
The realm of the Active Directory that is associated with your Amazon QuickSight account. This field is required
if <code>ACTIVE_DIRECTORY</code> is the selected authentication method of the new Amazon QuickSight account.
</p>

@param realm
       The realm of the Active Directory that is associated with your Amazon QuickSight account. This field is
       required if <code>ACTIVE_DIRECTORY</code> is the selected authentication method of the new Amazon
       QuickSight account.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/CreateAccountSubscriptionRequest.java