public GetServicePrincipalNameResult withServicePrincipalName(ServicePrincipalName servicePrincipalName) {
        setServicePrincipalName(servicePrincipalName);
        return this;
    }
<p>
The service principal name that the connector uses to authenticate with Active Directory.
</p>

@param servicePrincipalName
       The service principal name that the connector uses to authenticate with Active Directory.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pcaconnectorad/src/main/java/com/amazonaws/services/pcaconnectorad/model/GetServicePrincipalNameResult.java