public WorkspaceDescription withAccountAccessType(AccountAccessType accountAccessType) {
        this.accountAccessType = accountAccessType.toString();
        return this;
    }
<p>
Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account
only, or whether it can also access Amazon Web Services resources in other accounts in the same organization. If
this is <code>ORGANIZATION</code>, the <code>workspaceOrganizationalUnits</code> parameter specifies which
organizational units the workspace can access.
</p>

@param accountAccessType
       Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services
       account only, or whether it can also access Amazon Web Services resources in other accounts in the same
       organization. If this is <code>ORGANIZATION</code>, the <code>workspaceOrganizationalUnits</code>
       parameter specifies which organizational units the workspace can access.
@return Returns a reference to this object so that method calls can be chained together.
@see AccountAccessType
aws-java-sdk-managedgrafana/src/main/java/com/amazonaws/services/managedgrafana/model/WorkspaceDescription.java