public ServiceSpecificCredentialMetadata withUserName(String userName) {
        setUserName(userName);
        return this;
    }
<p>
The name of the IAM user associated with the service-specific credential.
</p>

@param userName
       The name of the IAM user associated with the service-specific credential.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/ServiceSpecificCredentialMetadata.java